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, string|null $http_proxy = null, int|null $http_proxy_port = null)

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, string|null $http_proxy = null, int|null $http_proxy_port = null)

No description

Parameters

string $url
string|null $http_proxy
int|null $http_proxy_port

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