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.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...