Oct 09, 2020 · Updated: Feb 02, 2021 · by Tim Kamanin
In this short tutorial, I will show you how to fix the following error:
chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser
The error might occur when you install Chromedriver on a Mac OS and try to run it for the first time. That happens because Mac OS blocks
chromedriver binary by default.
The solution is to make Mac OS trust
chromedriver binary. This can be done in two steps:
chromedriver binary path, run the following command in the terminal:
The output should be similar to:
Now you need to tell Mac OS to trust this binary by lifting the quarantine. Do this by the following terminal command:
xattr -d com.apple.quarantine /usr/local/bin/chromedriver
Now, rerun your test or script, and it should be able to run
chromedriver without the error.
Hey, if you've found this useful, please share the post to help other folks find it: