Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to find the chromedriver executable

Unable to find the chromedriver executable. Please download the server from http://code.google.com/p/chromedriver/downloads/list and place it somewhere on your PATH. More info at http://code.google.com/p/selenium/wiki/ChromeDriver. (Selenium::WebDriver::Error::WebDriverError)

On Ubuntu 13 with Watir and Ruby.

like image 532
user2969455 Avatar asked Nov 08 '13 15:11

user2969455


People also ask

How do I fix Chromedriver executable in path?

To solve the Selenium error "WebDriverException: Message: 'chromedriver' executable needs to be in PATH", install and import the webdriver-manager module by running pip install webdriver-manager . The module simplifies management of binary drivers for different browsers.

Where can I find Chromedriver exe?

You can download the chromedriver.exe from this link: https://sites.google.com/a/chromium.org/chromedriver/downloads. You will also find links to previous versions of cromedriver.

Where is Chromedriver exe in Selenium?

Below are the steps to follow while configuring the chrome setup for Selenium. #1) Check the version of the chrome. #3) Download the chromedriver.exe file for the respective OS and copy that .exe file into your local. #4) The path of the chromedriver (C:\webdriver\chromedriver.exe) will be used in our program.


2 Answers

For other people on MacOS:

brew cask install chromedriver

And you'll be good to go.

If using Homebrew 2.6.0 (released in 2020.12.01) or above, you should use:

brew install --cask chromedriver
like image 172
Graham Slick Avatar answered Oct 16 '22 08:10

Graham Slick


Please download the server from http://code.google.com/p/chromedriver/downloads/list and place it somewhere on your PATH. More info at https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver.

UPD: Link that is not broken: https://sites.google.com/a/chromium.org/chromedriver/downloads

like image 11
Nakilon Avatar answered Oct 16 '22 09:10

Nakilon