2018年8月21日
摘要: xpath定位方法详解 1.xpath较复杂的定位方法: 现在要引用id为“J_password”的input元素,可以像下面这样写: WebElement password = driver.findElement(By.xpath("//*[@id='J_login_form']/dl/dt/i 阅读全文
posted @ 2018-08-21 19:41 风过竹影 阅读(309) 评论(0) 推荐(0) 编辑