marriedjane875 marriedjane875 - 5 months ago 74
Ruby Question

watir webdriver browser will not goto url

When I run the .rb file, the browser opens, but doesn't go to the desired url. Screen stays blank white. When I hit control c in the terminal to quit, I get:

/Users/xxx/.rvm/gems/ruby-2.2.1/gems/selenium-webdriver-2.49.0/lib/selenium/webdriver/firefox/launcher.rb:90:in 'connect_until_stable': unable to obtain stable firefox connection in 60 seconds (xxx.x.x.x:xxxx) (Selenium::WebDriver::Error::WebDriverError)

I used simple code to test and still no luck:

require "rubygems"
require "watir-webdriver"

browser = :firefox #:profile => profile


There seems to be an open issue on this for Selenium:

Most often proposed solution:
Downgrade to Firefox 45.