摘要: xpath表达式的基本格式 1、通过绝对路径做定位 1 By.xpath("html/body/div/form/input") 2、通过标签tag做定位 1 By.xpath("//input") 3、通过元素索引定位 1 By.xpath("//input[4]") 4、使用xpath属性定位 阅读全文
posted @ 2016-08-24 10:38 逍遥无名 阅读(233) 评论(0) 推荐(1)