166k views
0 votes
How to fix "chromedriver" can’t be opened because apple cannot check it for malicious software?

User Felice
by
3.9k points

1 Answer

3 votes

Answer:

Two steps to solve this:

Navigate to the path using command- cd /usr/local/bin . This is where you will see your chromedriver installed.

When inside the bin directory, run this command- xattr -d com. apple. quarantine chromedriver .

Step-by-step explanation:

Step 1 — Find chromedriver binary path. To find chromedriver binary path, run the following command in the terminal: which chromedriver. ...

Step 2 — Lift the quarantine for the chromedriver binary. Now you need to tell Mac OS to trust this binary by lifting the quarantine.

User Maxim Kogan
by
4.1k points