title: IE11 Selenium WebDriverException: Failed to navigate. (org.openqa.selenium.WebDriverException ...IWebBrowser2::Navigate2() failed
body: <p>I am new to automated testing and, though my Selenium tests are running on Chrome and Firefox, they are not running on IE11. I did all the checks I detail below, but I keep on bumping into this error:</p>
  <pre><code>org.openqa.selenium.WebDriverException: Failed to navigate to http://myapp. This usually means that a call to the COM method IWebBrowser2::Navigate2() failed.
  </code></pre>
  <p>I did first the required configuration as in
  <a href="https://code.google.com/p/selenium/wiki/InternetExplorerDriver#Required_Configuration" rel="nofollow noreferrer">https://code.google.com/p/selenium/wiki/InternetExplorerDriver#Required_Configuration</a>) .</p>
  <p>I have tried editing my registry as suggested at <a href="https://stackoverflow.com/questions/21451412/org-openqa-selenium-webdriverexception-this-usually-means-that-a-call-to-the-co?rq=1">In IE: org.openqa.selenium.WebDriverException: This usually means that a call to the COM method IWebBrowser2::Navigate2() failed</a>
  to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE add a new DWORD value with the name iexplore.exe and the value 0, as described by <a href="https://stackoverflow.com/users/80779/lordofthepigs">https://stackoverflow.com/users/80779/lordofthepigs</a></p>
  <p>I also tried introducing the piece of code suggested by <a href="https://stackoverflow.com/users/4210466/karunakar-sapogu">https://stackoverflow.com/users/4210466/karunakar-sapogu</a> :</p>
  <pre><code>new_window = self.driver.window_handles[1]   
  self.driver.switch_to_window(new_window)
  </code></pre>
  <p>But I seem not to be introducing it right because I got java errors.</p>
  <p>Has anyone solved this problem in Java? Could you give me step by step instructions?</p>