I am new to selenium and want to understand how to identify an element in an iframe or a pop up. In our app, when we click on a button, a popup or an iframe is loaded on the same page. on that page i need to click on a button and then continue my other actions. While recording, selenium is not waiting for the pop up or iframe to be loaded. It is going to the next command and failing because the object is not found as yet since the iframe/popup is still loading.
Should be using wait commands to wait for it to load or use some select commands.
I am confused. I tried couple of commands like, waitforpopup, selectframe, waitforframetoload, but could not figure out.
Any help on this would be great!
Thanks in advance