Selenium chromedriver errors in Mac

AI/Data Science Digest
1 min readJun 18, 2020

When you are using Python selenium you need to set the web driver. To use Google Chrome, you need to download the chromedriver from here:

https://chromedriver.chromium.org/downloads

Make sure to use the version matches your Chrome version in the Mac.

The following menu option shows the version:

Chrome > About Google Chrome

If your chromedriver version does not match the Google Chrome version, you will get the following error:

selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 80

Mac also complains that the software is not verified and not allow to run from Python. You may get the following error message:

selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service chromedriver

You can execute the following command from where you have the chromedriver binary to solve this problem:

xattr -d com.apple.quarantine chromedriver

--

--

AI/Data Science Digest

One Digest At a Time. I value your time! #datascience #AI #GenAI #LLMs #dataanalyst #datascientist #probability #statistics #ML #savetime #digest