function CurlServiceInterface::execute
Send protocol request to WebDriver server using curl extension API.
Parameters
string $requestMethod HTTP request method, e.g., 'GET', 'POST', or 'DELETE':
string $url Request URL:
array $parameters If an array(), they will be posted as JSON parameters: If a number or string, "/$params" is appended to url
array $extraOptions key=>value pairs of curl options to pass to curl_setopt():
Return value
array
Throws
\WebDriver\Exception\CurlExec only if http error and CURLOPT_FAILONERROR has been set in extraOptions
1 method overrides CurlServiceInterface::execute()
- CurlService::execute in vendor/
lullabot/ php-webdriver/ lib/ WebDriver/ Service/ CurlService.php - Send protocol request to WebDriver server using curl extension API.
File
-
vendor/
lullabot/ php-webdriver/ lib/ WebDriver/ Service/ CurlServiceInterface.php, line 34
Class
Namespace
WebDriver\ServiceCode
public function execute($requestMethod, $url, $parameters = null, $extraOptions = array());