I am trying to add explicit wait in scripting but I am getting the following error
"The type com.google.common.base.Function cannot be resolved. It is indirectly referenced from required .class files"
My code
WebElement okButton; okButton = wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//button[@id='buttonResolveResultOk']")));
waitin your code? you need aWebDriverWaitthere