-
Notifications
You must be signed in to change notification settings - Fork 849
Description
I have this simple code to run IE, yes it managed to open IE but unable to go to the selected URL. Below is my code:
initialBrowserUrl('http://google.com/'); $driver->wait(5); $driver->quit(); ?>Any idea why?
Here is the error code:
Fatal error: Uncaught exception 'WebDriverCurlException' with message 'Curl error thrown for http POST to http://localhost:5555/session with params: {"desiredCapabilities":{"browserName":"internet explorer","platform":"WINDOWS"}} Recv failure: Connection was reset' in C:\xampp\htdocs\facebook\lib\WebDriverExceptions.php:39 Stack trace: #0 C:\xampp\htdocs\facebook\lib\remote\HttpCommandExecutor.php(257): WebDriverException::throwException(-1, 'Curl error thro...', Array) #1 C:\xampp\htdocs\facebook\lib\remote\HttpCommandExecutor.php(177): HttpCommandExecutor::curl('POST', 'http://localhos...', Array, Array) #2 C:\xampp\htdocs\facebook\lib\remote\RemoteWebDriver.php(114): HttpCommandExecutor::remoteExecute(Array, Array) #3 C:\xampp\htdocs\facebook\lib\remote\RemoteWebDriver.php(63): RemoteWebDriver::remoteExecuteHttpCommand(5000, Array) #4 C:\xampp\htdocs\facebook\example.php(10): RemoteWebDriver::create('http://localhos...', Object(DesiredCapabilities), 5000) #5 {main} thrown in C:\xampp\htdocs\facebook\lib\WebDriverExceptions.php on line 39