Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055) ubuntu

I had working selenium with my firefox, but today morning when i ran my test i got the same error. I updated selenium-webdriver for current version ( 2.38 ), but i still have that error.

Selenium::WebDriver::Error::WebDriverError:
unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055)
# /home/user/.rvm/gems/ruby-2.0.0-p195@taxand/gems/selenium-webdriver-2.38.0/lib/selenium/webdriver/firefox/launcher.rb:79:in `connect_until_stable'

also

i checked it in my other project where i have 2.35 version and it also worked yesterday - and there it also doesn't work today ;o

So i suppose that is no selenium issue, but my FF can be broken? But i also tried to run it with custom firefox_path to older firefox versions, and the issue is the same :<

Any ideas?

like image 786
Adam Piotrowski Avatar asked Dec 13 '13 13:12

Adam Piotrowski


1 Answers

I've found the same problem in Mac OS X Mavericks after I updated the Firefox 26.

I solved the problem by updating the selenium-webdriver gem

In your gemfile, replace your current selenium-webdriver gem line with

gem "selenium-webdriver", "~> 2.38.0"

In your console, gem update selenium-webdriver.

Then bundle install.

Try the running the test after.

like image 186
Jason Kim Avatar answered Sep 28 '22 22:09

Jason Kim