Fixing error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser on Mac OS09 Oct · by Tim Kamanin · 0 min read
So you've installed Chromedriver on your lovely Mac, and when you try to run it, you get that pesky
"“chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser" error. What do you do?
Well, my friend, you need to force Mac OS to trust the
Here's how to do this
Find a path for
You should get something like
Now tell MacOS to trust this binary by lifting the quarantine via the following command:
xattr -d com.apple.quarantine /usr/local/bin/chromedriver
I wish we could do the same with COVID 😷
Now, run your test or script again, and it should be working just fine!