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
METHOD_GET
public
mixed
METHOD_GET
= 'GET'
METHOD_POST
public
mixed
METHOD_POST
= 'POST'
Properties
$name
protected
string
$name
$parameters
protected
array<string|int, mixed>
$parameters
$sessionID
protected
string|null
$sessionID
$customMethod
private
string
$customMethod
$customUrl
private
string
$customUrl
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>
getCustomMethod()
public
getCustomMethod() : string
Tags
Return values
stringgetCustomUrl()
public
getCustomUrl() : string
Tags
Return values
stringgetName()
public
getName() : string
Return values
stringgetParameters()
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
selfsetCustomRequestParameters()
protected
setCustomRequestParameters(string $custom_url, string $custom_method) : mixed
Parameters
- $custom_url : string
- $custom_method : string