Hi there,
in Java client 4.x I used the following code to wait until alert showed up:
WebDriverWait wait = new WebDriverWait(driver.getDriver(), time);
try {
wait.until(ExpectedConditions.alertIsPresent());
}…
… but in Java client 5.0.4, “ExpectedConditions.alertIsPresent()” is not accepted. How can I achieve the same result now with new client?
created
May '18
last reply
May '18
- 1
reply
- 325
views
- 1
user
- 1
link