class UnhandledAlertError

Errorbot.Error
      └ webdriver.UnhandledAlertError

An error returned to indicate that there is an unhandled modal dialog on the current page.

new UnhandledAlertError(message, text, alert)

Parameters
messagestring

The error message.

textstring

The text displayed with the unhandled alert.

alertwebdriver.Alert

The alert handle.

Instance Methods

getAlertText()code ยป

Returns
string

The text displayed with the unhandled alert.