HumHub Documentation (unofficial)

WebDriverCommand
in package

Table of Contents

Properties

$name  : string
$parameters  : array<string|int, mixed>
$sessionID  : string|null

Methods

__construct()  : mixed
getName()  : string
getParameters()  : array<string|int, mixed>
getSessionID()  : string|null
newSession()  : self

Properties

Methods

__construct()

public __construct(string $session_id, string $name, array<string|int, mixed> $parameters) : mixed
Parameters
$session_id : string
$name : string

Constant from DriverCommand

$parameters : array<string|int, mixed>
Tags
todo

In 2.0 force parameters to be an array, then remove is_array() checks in HttpCommandExecutor

todo

In 2.0 make constructor private. Use by default static ::create() with sessionID type string.

getParameters()

public getParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSessionID()

public getSessionID() : string|null
Return values
string|null

Could be null for newSession command

newSession()

public static newSession(array<string|int, mixed> $parameters) : self
Parameters
$parameters : array<string|int, mixed>
Return values
self

        
On this page

Search results