WebDriverWait wait = new WebDriverWait(driver, 3000);
wait.until(ExpectedConditions.alertIsPresent());
Alert alert = webDriver.switchTo().alert();
alert.accept();
When I attempt to click on the Allow button after clicking a link that prompts me to update Flash Player, an Alert box pops up. However, my code is unable to successfully interact with the button and I encounter the error: org.openqa.selenium.NoAlertPresentException: no alert open
You can find the screenshots attached here Allow Flash.