class DriverCommandExecutor extends HttpCommandExecutor (View source)

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

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

mixed
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

mixed execute(WebDriverCommand $command)

No description

Parameters

WebDriverCommand $command

Return Value

mixed

Exceptions

WebDriverException
Exception

string getAddressOfRemoteServer()

No description

Return Value

string