Reputation: 371
I am facing the following error immediately after launching the browser and visiting URL:
Unable to get browser (Selenium::WebDriver::Error::NoSuchWindowError) only for IE
My code:
require 'watir-webdriver'
b = Watir::Browser.new 'ie'
b.goto "google.com"
Workaround I have done :
None of my workarounds gave me a positive sign.
Can someone give me a suggestion on how to fix this?
Gem Versions:
selenium (0.2.11)
selenium-webdriver (2.39.0, 2.37.0)
watir-webdriver (0.6.4)
Upvotes: 1
Views: 3326
Reputation: 371
The issue is resolved. Since mine is a 64 bit machine i have done a registry entry as suggested in https://code.google.com/p/selenium/wiki/InternetExplorerDriver#Required_Configuration
Upvotes: 1