pry(main)> browser =Watir::Browser.new(:chrome)
Error
Selenium::WebDriver::Error::WebDriverError: Unable to find chromedriver. Please download the server from http://chromedriver.storage.googleapis.com/index.html and place it somewhere on your PATH. More info at https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver.
from /home/roberto/.rvm/gems/ruby-2.4.1/gems/selenium-webdriver-3.12.0/lib/selenium/webdriver/common/service.rb:57:in `binary_path'
I have already installed and added the path for chrome driver however, I keep receiving this error, can someone highlight what i am missing.
You need to download the chrome driver and put it in your bin folder, please go the path specified and download the chrome driver and then paste that to your bin folder. C:\Ruby\bin is what my path, likewise check your path and place chromedriver.exe
file into bin folder
Setting binary path
Selenium::WebDriver::Firefox::Binary.path = 'C:\Ruby24-x64\bin C:\Users\farid\AppData\Local\Google\Chrome\application\chrome.exe'