I am trying to update chromedriver from 2.30 to 2.35. However, after I brew install chromedriver
, the default chromedriver is still 2.30. If I redo brew, it will tell me I have already installed 2.35 version, but when I use chromedriver --version
, it still shows 2.30. Can any one tell me why it's that? And can I know where does this brew install?
Thanks!
Output of brew list chromedriver
:
/usr/local/Cellar/chromedriver/2.35/bin/chromedriver
/usr/local/Cellar/chromedriver/2.35/homebrew.mxcl.chromedriver.plist
and output of which chromedriver
shows it's using version 2.30 in other path.
I had the same problem and was able to fix it by:
brew uninstall chromedriver
then I did
brew info chromedriver
which told me to do:
brew tap homebrew/cask
brew cask install chromedriver
It installed chromedriver
2.40
brew cask reinstall chromedriver
In my case helped just reinstalling chromedriver
Example output:
==> Satisfying dependencies
==> Downloading https://chromedriver.storage.googleapis.com/75.0.3770.90/chromedriver_mac64.zip
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'chromedriver'.
==> Uninstalling Cask chromedriver
==> Unlinking Binary '/usr/local/bin/chromedriver'.
==> Purging files for version 2.45 of Cask chromedriver
==> Installing Cask chromedriver
==> Linking Binary 'chromedriver' to '/usr/local/bin/chromedriver'.
🍺 chromedriver was successfully installed!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With