search

Class WebDriver

Exported By
All Implemented Interfaces
All Known Direct Subclasses
All Known Aliases

Each WebDriver instance provides automated control over a browser session.

new WebDriver( session, executor, opt_flow, opt_onQuit )

Parameters
session(Session|IThenable<Session>)

Either a known session or a promise that will be resolved to a session.

executorExecutor

The executor to use when sending commands to the browser.

opt_flow(ControlFlow|null|undefined)

The flow to schedule commands through. Defaults to the active flow object.

opt_onQuit(function(this: undefined): ?|undefined)

A function to call, if any, when the session is terminated.

Instance Methods

Static Functions