\HttpCommandExecutor

Command executor talking to the standalone server via HTTP.

Summary

Methods
Properties
Constants
__construct()
execute()
getAddressOfRemoteServer()
No public properties found
No constants found
curl()
$url
N/A
No private methods found
$commands
N/A

Properties

$url

$url : string

Type

string

$commands

$commands : 

Type

Methods

__construct()

__construct(string  $url) 

Parameters

string $url

execute()

execute(\WebDriverCommand  $command, array  $curl_opts = array()) : mixed

Parameters

\WebDriverCommand $command
array $curl_opts

An array of curl options.

Returns

mixed

getAddressOfRemoteServer()

getAddressOfRemoteServer() : string

Returns

string

curl()

curl(string  $http_method, string  $url, array  $command, array  $extra_opts = array()) : array

Curl request to webdriver server.

Parameters

string $http_method

'GET', 'POST', or 'DELETE'

string $url
array $command

The Command object, modelled as a hash.

array $extra_opts

key => value pairs of curl options for

                       curl_setopt()

Throws

\Exception

Returns

array