Input in IFrame with Selenium IDE

I would like to introduce something into the IFrame with the Selenium IDE, but I don't know how to do it.

Thanks a lot!

+2
source share
3 answers

You must select iframe and then type

selenium.selectFrame("css=iframe.widget[<a_css_identifier>]"); selenium.type(<your_object_or_text_box>, <typed_content>); 

The statements are in java, but you should find selectFrame and type in the IDE.

+5
source

You can use the Selenium IDE 'selectFrame' command to focus inside the iframe. Use the Target field to enter the iframe identifier.

+1
source

Try

 <tr> <td>selectFrame</td> <td>edit</td> <td></td> </tr> <tr> <td>type</td> <td>xpath=//html/body</td> <td>my text</td> </tr> 
0
source

Source: https://habr.com/ru/post/1403831/


All Articles