I am trying to run a simple Watir script on my system but I am getting error. I tried with 2.2.4, 2.1.8 and 1.9.3 too but nothing works for me. I long time back I used to work on Watir on v1.8.7 and on some 2.x version, but now I can't remember what different I did back then.
Following is the code I tried to execute with v1.9.3 on Win7 x64bit.
require 'rubygems'
require 'watir-webdriver'
print "Hello"
b = Watir::Browser.start 'http://www.google.com'
With this I get the error "Unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055) (Selenium::WebDriver::Error::WebDriverError)".
I tried using watir instead of 'watir-webdriver' but that also doesn't work. watir, watir-webdriver, watirclassic and selenium-webdriver are installed.