Class webdriver.UnhandledAlertError

code »
Errorbot.Error
      └ webdriver.UnhandledAlertError

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

Constructor

webdriver.UnhandledAlertError ( message, text, alert )
Parameters
message: string
The error message.
text: string
The text displayed with the unhandled alert.
alert: !webdriver.Alert
The alert handle.
Show:

Instance Methods

Defined in webdriver.UnhandledAlertError

Deprecated: Use #getAlertText. This method will be removed in 2.45.0.
Returns
The open alert.
Returns
The text displayed with the unhandled alert.

Defined in bot.Error

Returns
he string representation of this error.

Instance Properties

Defined in webdriver.UnhandledAlertError

Defined in bot.Error

Flag used for duck-typing when this code is embedded in a Firefox extension. This is required since an Error thrown in one component and then reported to another will fail instanceof checks in the second component.

Static Properties