摘要:
WebDriverWait(driver, 10)10秒内每隔500毫秒扫描1次页面变化,当出现指定的元素后结束。http://fox1984.iteye.com/blog/1225265new WebDriverWait(driver, 10).until (new ExpectedCondition() { @Override public Boolean apply(WebDriver driver) { Boolean result = false; try { driver.findElement(By.xpath("//div[@class='suggest 阅读全文
posted @ 2013-07-15 17:46
ouniao
阅读(1341)
评论(0)
推荐(0)