SeleniumHQ / selenium

A browser automation framework and ecosystem.
https://selenium.dev
Apache License 2.0
30.7k stars 8.19k forks source link

IE11: Failed to navigate using IEdriver on windows 7 #1421

Closed pnswamy closed 8 years ago

pnswamy commented 8 years ago

Hi, I am getting this error "call to the COM method IWebBrowser2::Navigate.failed()" while running rpsec. The browser launches but its unable to go to the url "This is the initial start page for the WebDriver server." This is the same problem I am seeing as mentioned in https://code.google.com/p/selenium/issues/detail?id=4825&pli=1 but I couldn't add a comment there, so opening a new issue.

The url I am trying to launch is something like -> http://username:pwd@hostname:port/xxx I am using IEDriverServer_Win32_2.48.0 (32-bit installation) and browser is IE11 on windows 7.

Things done:

Any help would be appreciated.

jimevans commented 8 years ago

Internet Explorer explicitly disabled the ability to pass user name and password via the URL. Note this is a browser limitation, not a driver limitation. What happens when you omit the user name and password?

pnswamy commented 8 years ago

@jimevans Thanks alot for the response. When I omit the username and password, it redirects to the url but prompts for username and password.

jimevans commented 8 years ago

Then the driver is working as expected.