Skip to content

Instantly share code, notes, and snippets.

@wbotelhos
Last active February 12, 2018 14:07
Show Gist options
  • Save wbotelhos/3905937 to your computer and use it in GitHub Desktop.
Save wbotelhos/3905937 to your computer and use it in GitHub Desktop.
Configuring Firefox Binary.path for Cucumber (Ubuntu)
# Could not find Firefox binary (os=linux). Make sure Firefox is installed or set the path manually with Selenium::WebDriver::Firefox::Binary.path= (Selenium::WebDriver::Error::WebDriverError)
require 'selenium-webdriver'
Selenium::WebDriver::Firefox::Binary.path='/usr/bin/firefox/firefox-bin'
@mwaqarshahid
Copy link

I haven't any env.rb file. Instead there is environment.rb file. BUt placing the above code there doesn't corrects my error.

@IvikGH
Copy link

IvikGH commented Feb 12, 2018

Here I've posted the solution.
makandra/geordi#42 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment