View Source

# module selenium-webdriver

The main user facing module. Exports WebDriver's primary public API and provides convenience assessors to certain sub-modules.

## Types

ActionSequence

  Class for defining sequences of complex user interactions.

Browser

  Recognized browser names.

Builder

  Creates new `WebDriver` instances.

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.

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.

Serializable

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

Session

  Contains information about a WebDriver session.

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.