Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WebDriverWait wait = new WebDriverWait(driver, 60);//timeout in Seconds
- wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("xpath"))).click();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement