Unable to detect Alert using ChromeDriver?
问题 I am currently doing some automation testing using Selenium WebDriver . The issue I am facing is that my script is unable to detect alerts. Scenario: I open the application, pass my credentials and press Confirm. On Confirm, the application opens with an Alert. Screenshot of the Alert Shown below: I am using Java, Selenium WebDriver, ChromeDriver, and testng. i am using the codes shows below : uk.setLogin("", ""); uk.getLogin(); WebDriverWait wait = new WebDriverWait(Driver, 10); wait.until