摘要:
问题: 多个窗口时,该如何识别想操作的窗口,操作页面元素呢? 例如点击一个link属性的文字,跳出新窗口,如何定位新窗口以及操作 分析: 代码: 阅读全文
摘要:
如何查看是否为iframe *使用FireFox组件firebug->firepath 1.Top Window:可直接定位 2.iframe#i:根据id定位 定位方法: switch_to.frame(name or id or frame_element) 针对有id或name的情况 代码: 阅读全文