I have configured my Webbrowser with the options options.setUnhandledPromptBehaviour(ACCEPT_AND_NOTIFY);
but when I run
WebElement.sendKeys(text);
it doesn't return an UnhandledAlertException.
Using driver().executeAsyncScript(SCRIPT)
works, but the sendKeys method does not return the wanted result.