WebDriver.Error

Error handling for WebDriver.

The error codes that are returned from the server are managed by this module.

The codes that can be returned are:

* :success
 * :no_such_driver
 * :no_such_element
 * :no_such_frame
 * :unknown_command
 * :stale_element_reference
 * :element_not_visible
 * :invalid_element_state
 * :unknown_error
 * :element_not_selectable
 * :javascript_error
 * :x_path_lookup_error
 * :timeout
 * :no_such_window
 * :invalid_cookie_domain
 * :unable_to_set_cookie
 * :unexpected_alert_open
 * :no_alert_open_error
 * :script_timeout
 * :invalid_element_coordinates
 * :ime_not_available
 * :ime_engine_activation_failed
 * :invalid_selector
 * :session_not_created_exception
 * :move_target_out_of_bounds
Source

Summary

build_message(list1)

Create an ErrorMessage record from raw protocol error data

summary(code)

Convert a code number to a status code summary atom

Functions

build_message(list1)

Create an ErrorMessage record from raw protocol error data.

Source
summary(code)

Convert a code number to a status code summary atom.

Source