HumHub Documentation (unofficial)

CustomWebDriverCommand extends WebDriverCommand
in package

Table of Contents

Constants

METHOD_GET  = 'GET'
METHOD_POST  = 'POST'

Properties

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

Methods

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

Constants

Properties

Methods

__construct()

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

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

setCustomRequestParameters()

protected setCustomRequestParameters(string $custom_url, string $custom_method) : mixed
Parameters
$custom_url : string
$custom_method : string
Tags
throws
WebDriverException

        
On this page

Search results