class WebDriverCommand (View source)

Properties

protected string|null $sessionID
protected string $name
protected array $parameters

Methods

__construct(string $session_id, string $name, array $parameters)

No description

newSession(array $parameters)

No description

string
getName()

No description

string|null
getSessionID()

No description

array
getParameters()

No description

Details

__construct(string $session_id, string $name, array $parameters)

No description

In 2.0 force parameters to be an array, then remove is_array() checks in HttpCommandExecutor In 2.0 make constructor private. Use by default static `::create()` with sessionID type string.

Parameters

string $session_id
string $name

Constant from DriverCommand

array $parameters

static WebDriverCommand newSession(array $parameters)

No description

Parameters

array $parameters

Return Value

WebDriverCommand

string getName()

No description

Return Value

string

string|null getSessionID()

No description

Return Value

string|null

Could be null for newSession command

array getParameters()

No description

Return Value

array