Module: selenium-webdriver/error
class Error
Error └ Error
- Alias for
bot.Error
Error extension that includes error status codes from the WebDriver wire protocol: http://code.google.com/p/selenium/wiki/JsonWireProtocol#Response_Status_Codes
new Error(code, opt_message)
Instance Methods
Instance Properties
- isAutomationError
boolean
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.
Types
- Error.State
Status strings enumerated in the W3C WebDriver working draft.