- This alert is thrown by Chrome/Windows in response to an application alert being used for error reporting. The fact that the alert is being used for error reporting is an application bug and will be fixed (eventually). ...but the current situation is that this alert is thrown indefinitely, hanging our automation, in the absence of a means to dismiss it (via automation).
- The alert can not be dismissed via any of the generic webdriver or Java sendKeys mechanisms (e.g. Robot, driver.sendKeys(), etc.), as an UnhandledAlertException is thrown.
- alert.sendKeys() is unique from other webDriver.sendKeys() in that it takes a string, rather than an int.
- As an interactive user, I can check the ''Prevent this page from creating additional dialogs' check-box with a combination of <Tab> + <Space> keys. The <Tab> shifts the focus to the text check-box and the <Space> checks the check-box.
The only means to communicate with the alert, that I'm aware of, is alert.sendKeys(). I've tried the following to send a <Tab> to the alert via automation, with no success:
alert.sendKeys("\t");
alert.sendKeys("{TAB}");
alert.sendKeys("\uE004");
alert.sendKeys("\\U+0009");
alert.sendKeys(Integer.toString(KeyEvent.VK_TAB));