摘要: 1.xpath较复杂的定位方法: 现在要引用id为“J_password”的input元素,可以像下面这样写: WebElement password = driver.findElement(By.xpath("//*[@id='J_login_form']/dl/dt/input[@id='J_ 阅读全文
posted @ 2017-08-25 14:23 Sunny* 阅读(890) 评论(0) 推荐(1)