class DriverCommandExecutor extends HttpCommandExecutor (View source)

A HttpCommandExecutor that talks to a local driver service instead of a remote server.

Constants

DEFAULT_HTTP_HEADERS

Properties

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

Methods

__construct(DriverService $service)

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

execute(WebDriverCommand $command)

No description

string
getAddressOfRemoteServer()

No description

Details

__construct(DriverService $service)

No description

Parameters

DriverService $service

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

WebDriverResponse execute(WebDriverCommand $command)

No description

Parameters

WebDriverCommand $command

Return Value

WebDriverResponse

Exceptions

WebDriverException
Exception

string getAddressOfRemoteServer()

No description

Return Value

string