摘要: 一、frame框架里面的元素定位 1.1 iframe定位 -- 先切换到iframe框架-定位-释放iframe 定位到iframe 3种的方法 """Switches focus to the specified frame, by index, name, or webelement.:Arg 阅读全文
posted @ 2018-06-27 20:27 雨彡 阅读(5384) 评论(0) 推荐(0) 编辑
摘要: web driver提供了八种元素定位的方法: id, name, class name, tag name, link text, partial link text, xpath, css selector 下面主要介绍一下xpath: 一、xpath基本定位用法 1.1 使用id定位 -- d 阅读全文
posted @ 2018-06-27 20:09 雨彡 阅读(65342) 评论(0) 推荐(9) 编辑