I have a Rails 5.0.2 app and I’m using rspec and capybara for testing.
I’m using firefox for my javascript enabled feature specs.
On my local machine these are working ok.
When I push to master and CircleCI runs my specs I get the following error:
Unable to find Mozilla geckodriver. Please download the server from https://github.com/mozilla/geckodriver/releases and place it somewhere on your PATH. More info at https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver.
I’m using ruby 2.4, capybra 2.12.1.
I had assumed this would be a fairly standard setup but there doesn’t seem to be any info about this specific error on CircleCI.
I tried and failed to get geckodriver setup by manually attempting to installing it and still failed. If anyone has managed to get this to work, please chime in.
I tried this out, but I’m still getting the same error:
Selenium::WebDriver::Error::WebDriverError:
Unable to find Mozilla geckodriver. Please download the server from Releases · mozilla/geckodriver · GitHub and place it somewhere on your PATH.
Does this code snippet actually place the drivers directory on the containers path, or just unzip the tar to that directory?
I’m using the latest version of selenium-webdriver (3.3.something) and trying to use geckodriver 0.15.
Are these versions supported? If not I’m not sure how I can manage two sets of selenium/firefox for circleci and for my local dev environments.
@zacharyw you didn’t have to add a Docker image or anything? I tried adding that with no luck. Tried pretty much everything I could find on here with no luck.