WebDriver reference

This page lists reference documentation for WebDriver.

WebDriver capabilities

WebDriver capabilities are used to communicate the features supported by a session. A client may also use capabilities to define which features it requires the driver to satisfy when creating a new session.

WebDriver commands

The following is a list of the available WebDriver commands.

WebDriver errors

Any WebDriver command that is sent to might plausibly receive an error response. An error is represented by an HTTP response with an HTTP status code in the 4xx or 5xx range, and a JSON payload holding details of the error.

WebDriver timeouts

Associated with a WebDriver session are various timeout definitions that control behavior for script injection, document navigation, and element retrieval.