Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void waitElement(WebElement element, TimeOut timeOut) {
- try {
- WebDriverWait wait = new WebDriverWait(driver, timeOut.value);
- wait.until(ExpectedConditions.invisibilityOf(element));
- } catch (Exception ex) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement