I have upgraded my selenium webdriver to 3.2.0 from 3.0.1 and observed that
WebDriverWait wait = new WebDriverWait(Driver, 30);
wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("myID"));
if displaying compilation error as below:
The method
until((java.util.function.Function<? super
org.openqa.selenium.WebDriver, V>)
ExpectedConditions.visibilityOfElementLocated(By.id("myID")));
When I move back to selenium 3.0.1 it is working as expected.
Is there a problem with 3.2.0 or 3.3.1, how to fix this issue