How to increase the curl timeout in facebook php web-driver How to increase the curl timeout in facebook php web-driver curl curl

How to increase the curl timeout in facebook php web-driver


RemoteWebDriver::create() supports specifying the connection and request timeout as the third and fourth arguments, e.g.

$driver = RemoteWebDriver::create(  $host,  $capabilities,  60 * 1000, // Connection timeout in miliseconds  60 * 1000  // Request timeout in miliseconds);

See: https://github.com/php-webdriver/php-webdriver/blob/1.9.0/lib/Remote/RemoteWebDriver.php#L88