Module: selenium-webdriver/error
View Source

# enum ErrorCode

Type`number`
Alias for `bot.ErrorCode`

Error codes from the Selenium WebDriver protocol: https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#response-status-codes

## Values and Descriptions

ELEMENT_NOT_SELECTABLE

ELEMENT_NOT_VISIBLE

IME_ENGINE_ACTIVATION_FAILED

IME_NOT_AVAILABLE

INVALID_COOKIE_DOMAIN

INVALID_ELEMENT_COORDINATES

INVALID_ELEMENT_STATE

INVALID_SELECTOR_ERROR

INVALID_XPATH_SELECTOR

INVALID_XPATH_SELECTOR_RETURN_TYPE

JAVASCRIPT_ERROR

METHOD_NOT_ALLOWED

MOVE_TARGET_OUT_OF_BOUNDS

NO_SUCH_ALERT

NO_SUCH_ELEMENT

NO_SUCH_FRAME

NO_SUCH_WINDOW

SCRIPT_TIMEOUT

SESSION_NOT_CREATED

SQL_DATABASE_ERROR

STALE_ELEMENT_REFERENCE

SUCCESS

TIMEOUT

UNABLE_TO_SET_COOKIE

UNEXPECTED_ALERT_OPEN

UNKNOWN_COMMAND

UNKNOWN_ERROR

UNSUPPORTED_OPERATION

XPATH_LOOKUP_ERROR