webdriver.remote.errorhandler

Module Contents

Classes

ErrorCode() Error codes defined in the WebDriver wire protocol.
ErrorHandler() Handles errors returned by the WebDriver server.
class ErrorCode

Error codes defined in the WebDriver wire protocol.

class ErrorHandler

Handles errors returned by the WebDriver server.

check_response(response)

Checks that a JSON response from the WebDriver does not have an error.

Args:
  • response - The JSON response from the WebDriver server as a dictionary object.
Raises:

If the response contains an error message.

_value_or_default(obj, key, default)