Is there a change in the handling of unhandled alert in ChromeDriver and Chrome with Selenium?
问题 I have a test that has been running fine for months. One thing it does is cause an alert and then verify the alert text. This is running with Selenium, Java and Chrome Driver 76.0.3809.68. Lately it has been giving me the error: "No such alert". What happens is it clicks a button and waits for an alert if there: try { button.click(); } catch (UnhandledAlertException ex) { // nothing } // then here goes code to accept the alert and get the text when stepping through I see the alert. When I run