How to update chromedriver to Chrome version 116

I got an error after running Selenium that said:

This version of ChromeDriver only supports Chrome version 116

I'm on a mac. To fix, run:

brew install --cask chromedriver

Then try to run your script again.

Then you're going to see: chromedriver cannot be opened because it Cannot be verified

To fix that, go to: System Preferences > Security and Privacy > Allow apps downloaded from > Allow anyway

You should see a popup that says: "chromedriver" was blocked from use because it is not from an identified developer.

Click "Open Anyway" and then you should be good to go!

Sign up for my email list