I use Watir to scan something, but it throws
Unable to find Mozilla geckodriver. Please download the server from https://github.com/mozilla/geckodriver/releases and place it
I took the next step.
Download the latest version of firefox (version50.0)
Download the latest version of geckodriver from https://github.com/mozilla/geckodriver/releases and put it in ~/geckodriver
Then add export PATH=$PATH:~/geckodriver to ~/.bash_profile and submit it.
Here is the code that I executed
require 'watir-webdriver' browser = Watir::Browser.new :firefox
Gemfile
source "https://rubygems.org" gem 'nokogiri' gem 'watir-webdriver' gem 'open_uri_redirections' gem 'selenium-webdriver' gem "watir", ">= 6.0.0.beta2"
Environment: OSX 10.10
ruby firefox selenium
Coda chang
source share