Last active
April 8, 2016 21:36
-
-
Save slawekradzyminski/0e6859092cee8dbf55a37d785a7d7339 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wait<WebDriver> wait = new FluentWait<WebDriver>(driver) | |
.withTimeout(5, TimeUnit.SECONDS) | |
.pollingEvery(500, TimeUnit.MILLISECONDS) | |
.ignoring(NoSuchElementException.class) | |
.withMessage("Oops, element didn't disappear!"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment