Selenium: wait until expected conditions

Last updated on:

WebDriverWait wait = new WebDriverWait(driver, 10);
WebElement element = wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//xpathtoelement")));
View Comments

Leave a Comment

Use markdown or basic HTML and be nice.