Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. WebDriverWait wait = new WebDriverWait(driver, 60);//timeout in Seconds
  2. wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("xpath"))).click();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement