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.