module selenium-webdriver/executors
Various utilities for working with
webdriver.CommandExecutor
implementations.
Functions
createExecutor(url, opt_proxy)code ยป
Creates a command executor that uses WebDriver's JSON wire protocol.
Parameters
- url
(string|webdriver.promise.Promise<string>)
The server's URL, or a promise that will resolve to that URL.
- opt_proxy
string=
(optional) The URL of the HTTP proxy for the client to use.
Returns
Types
- DeferredExecutor
Wraps a promised
webdriver.CommandExecutor
, ensuring no commands are executed until the wrapped executor has been fully built.