Learn to Read the Documentation, Luke

Alex Siminiuc
2 min readOct 10, 2020

What is wrong in this Selenium code snippet?

public void waitUntilElementIsClickable(WebElement element)
{
driver.manage().timeouts().implicitlyWait(0, TimeUnit.SECONDS);
WebDriverWait wait = new WebDriverWait(driver, 10);
wait.until(ExpectedConditions.elementToBeClickable(element));
driver.manage().timeouts().implicitlyWait(10…

--

--