-
Notifications
You must be signed in to change notification settings - Fork 849
Closed
Description
How could the issue be reproduced? (Steps to reproduce)
PHP Fatal error: Uncaught Facebook\WebDriver\Exception\WebDriverCurlException: Curl error thrown f
or http POST to /session/9756a112-36bf-4999-bae7-59d8f506c253/url with params: {"url":"http://gam
e.hao123.com"}
Operation timed out after 30000 milliseconds with 0 bytes received in ...
$host = 'http://localhost:4444/wd/hub'; // this is the default
$capabilities = DesiredCapabilities::htmlUnit();
$capabilities->setJavascriptEnabled(false);
$driver = RemoteWebDriver::create($host, $capabilities, 5000);
//or
//$driver = RemoteWebDriver::create($host, $capabilities, 5000,5000);
$driver->get('http://game.hao123.com');
$html =$driver->getPageSource();Details
- Php-webdriver version: 1.5
- PHP version: 7.1.7(cli)
- Selenium server version: 3.8.1
- Operating system: win 10
- Browser used + version: htmlUnit ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels