Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
2.2k views
by Contributing Tester (92 points)
edited by

I am trying to launch FF 52.x with geckodriver0.15 on OSX.

However, browser doesn't launch.

Using Ruby

require 'selenium/webdriver'
 Selenium::WebDriver::Firefox::Binary.path = "/Users/#{ENV['USER']}/Applications/Firefox.app/Contents/MacOS/firefox"
Capybara::Selenium::Driver.new(app, :browser => :firefox)
session = Capybara::Session.new(:selenium)
session.visit('/')

 

 

Selenium::WebDriver::Error::WebDriverError: unable to connect to Mozilla geckodriver 127.0.0.1:4444

 

by New User (10 points)
Can you specify the Selenium webdriver version, you are currently using??

1 Answer

0 like 0 dislike
by The go-to Tester (181 points)

It looks like you are using selenium v3 or above. Try to use selenium 2.53.4 and let us know your experience.

...