此外,对skip_intro id的简单单击命令也失败了。
发布于 2015-02-20 05:36:28
请使用Selenium中的selectFrame命令来选择框架。
如果您的iframe是像<iframe id="ntbanner" width="100%" scrolling="no" height="113px" frameborder="0">
您的命令将是selectFrame,相应的目标将是IDE中的id=ntbanner。
在框架中之后,可以使用普通单击单击框架中的按钮或元素。如果您想要退出框架,可以将目标设置为null,以便在IDE中使用selectFrame命令。
https://stackoverflow.com/questions/28613197
复制相似问题