How can I use Explicit wait in Java to have the driver wait to load that specific element?
Hey Emma,
Below mentioned snippet helps you use the explicit wait in Java to have the driver wait to load that specific element
The snippet has put a timeout of 30 seconds:
WebDriverWait wait = new WebDriverWait(driver,30);
wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//*[@id=\"call-incoming-answer\"]")));