How to put an explicit wait where it waits for the element to be visible in Java?
Hello Rebecca-manson,
You can use the below line of code to put an explicit wait:
WebDriverWait wait=new WebDriverWait(driver,20);
WebElement element=wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath(""ur xpath here"")));