简体   繁体   中英

How to automate iframe click in selenium-ide?

另外,对skip_intro ID的简单单击命令失败。

Please use the selectFrame command in Selenium IDE to select the frame.

If your iframe is like <iframe id="ntbanner" width="100%" scrolling="no" height="113px" frameborder="0">

Your command will be selectFrame and the corresponding target will be id=ntbanner in IDE.

Once you are in the frame, you can click the button or elements in the frame by using normal click. If you want to get back out of the frame you can set target as null to the selectFrame command in IDE

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM