class HttpCommandExecutor implements WebDriverCommandExecutor (View source)

Command executor talking to the standalone server via HTTP.

Properties

static protected $commands
protected string $url
protected resource $curl

Methods

__construct(string $url)

No description

setConnectionTimeout(int $timeout_in_ms)

Set timeout for the connect phase

setRequestTimeout(int $timeout_in_ms)

Set the maximum time of a request

mixed
execute(WebDriverCommand $command)

No description

string
getAddressOfRemoteServer()

No description

Details

__construct(string $url)

No description

Parameters

string $url

HttpCommandExecutor setConnectionTimeout(int $timeout_in_ms)

Set timeout for the connect phase

Parameters

int $timeout_in_ms

Timeout in milliseconds

Return Value

HttpCommandExecutor

HttpCommandExecutor setRequestTimeout(int $timeout_in_ms)

Set the maximum time of a request

Parameters

int $timeout_in_ms

Timeout in milliseconds

Return Value

HttpCommandExecutor

mixed execute(WebDriverCommand $command)

No description

Parameters

WebDriverCommand $command

Return Value

mixed

Exceptions

WebDriverException

string getAddressOfRemoteServer()

No description

Return Value

string