class UnhandledAlertError
Error
└ bot.Error
└ webdriver.UnhandledAlertError
An error returned to indicate that there is an unhandled modal dialog on the current page.
new UnhandledAlertError(message, text, alert)
Instance Methods
deprecated
Deprecated: Use #getAlertText
. This method will be removed in 2.45.0.
getAlertText()code »
Returns
string
The text displayed with the unhandled alert.