2
votes

Updated the firefox to version 48 but it give the following error. Any help how to solve it:

Selenium::WebDriver::Error::WebDriverError: unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055) from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver/firefox/launcher.rb:90:in connect_until_stable' from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver/firefox/launcher.rb:55:inblock in launch' from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver/common/socket_lock.rb:43:in locked' from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver/firefox/launcher.rb:51:inlaunch' from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver/firefox/bridge.rb:43:in initialize' from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver/common/driver.rb:53:innew' from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver/common/driver.rb:53:in for' from /Library/Ruby/Gems/2.0.0/gems/selenium-webdriver-2.52.0/lib/selenium/webdriver.rb:86:infor' from /Library/Ruby/Gems/2.0.0/gems/capybara-2.6.2/lib/capybara/selenium/driver.rb:13:in browser' from /Library/Ruby/Gems/2.0.0/gems/capybara-2.6.2/lib/capybara/selenium/driver.rb:45:invisit' from /Library/Ruby/Gems/2.0.0/gems/capybara-2.6.2/lib/capybara/session.rb:232:in visit' from /Library/Ruby/Gems/2.0.0/gems/capybara-2.6.2/lib/capybara/dsl.rb:51:inblock (2 levels) in ' from /Users/mesutgunes/scripts/capybara.rb:53 from /usr/bin/irb:12:in `'

1
45 and 47 is working but 48 is not working possible I can downgrade but I want to test in 48Mesut GUNES

1 Answers

4
votes

Firefox v48 is not usable (in Capybara) without selenium-webdriver v3 and geckodriver. There is a beta version of selenium-webdriver v3 but it is currently missing a number of critical features (can't read the current value of form element for instance) and isn't really ready for real testing use yet. Downgrade to 47 for now.