namespace webdriver

Types

ActionSequence

Class for defining sequences of complex user interactions.

Alert

Represents a modal dialog such as alert, confirm, or prompt.

AlertPromise

AlertPromise is a promise that will be fulfilled with an Alert.

Browser

Recognized browser names.

Button

Enumeration of the buttons used in the advanced interactions API.

Capabilities

No description.

Capability

Common webdriver capability keys.

Command

Describes a command to be executed by the WebDriverJS framework.

CommandExecutor

Handles the execution of WebDriver commands.

CommandName

Enumeration of predefined names command names that all command processors will support.

EventEmitter

Object that can emit events for others to listen for.

FileDetector

Used with WebElement#sendKeys on file input elements (<input type="file">) to detect when the entered key sequence defines the path to a file.

Key

Representations of pressable keys that aren't text.

Locator

An element locator.

Serializable

Defines an object that can be asynchronously serialized to its WebDriver wire representation.

Session

Contains information about a WebDriver session.

TouchSequence

Class for defining sequences of user touch interactions.

UnhandledAlertError

An error returned to indicate that there is an unhandled modal dialog on the current page.

WebDriver

Creates a new WebDriver client, which provides control over a browser.

WebElement

Represents a DOM element.

WebElementPromise

WebElementPromise is a promise that will be fulfilled with a WebElement.

Type Definitions

webdriver.ProxyConfig{proxyType: string}

Describes how a proxy should be configured for a WebDriver session. Proxy configuration object, as defined by the WebDriver wire protocol.