Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Brew install chromedriver not working?

I am using MacOS, when I tried to install chromedriver using homebrew

brew install chromedriver 

I get:

Error: No available formula with the name "chromedriver"  It was migrated from homebrew/core to caskroom/cask. You can access it again by running: brew tap caskroom/cask 

I typed brew tap caskroom/cask but chromedriver is still not installed. Can someone please help me on this? Thanks!

like image 979
Rocking chief Avatar asked Apr 29 '18 12:04

Rocking chief


People also ask

How do I install the latest Chromedriver on Mac?

The easiest way to install ChromeDriver is to use your package manager such as brew or npm to install the driver. In your terminal window with the Homebrew package manager: Install ChromeDriver with brew install cask chromedriver. Confirm it was installed using chromedriver --version and seeing it returns a version.


1 Answers

Update: This answer has been outdated. Please follow the answer from @Chris, which is now the correct answer.

After tapping caskroom/cask by using brew tap caskroom/cask, install chromedriver using brew cask install chromedriver. You can see other commands using brew cask help.

like image 177
Gaurab Kc Avatar answered Sep 20 '22 13:09

Gaurab Kc