0

I am facing following multiple issues with Python + Selenium + Chrome :

WebDriverException: Message: 'chromedriver' executable needs to be in PATH.

“chromedriver” can’t be opened because Apple cannot check it for malicious software.

1 Answer 1

0

Solution :

  • Download chromedriver_mac64_m1.zip [Check and find appropriate version here]
  • Open termial and execute below cmd
   sudo mv chromedriver /usr/local/bin 
   sudo chown root /usr/local/bin/chromedriver 
   sudo chmod +x /usr/local/bin/chromedriver
  • If you still observe "chromedriver can't be opened", then execute
  which chromedriver
  • Expected to return simillar to : /usr/local/bin/chromedriver
  • Just to trust on chromedriver execute
xattr -d com.apple.quarantine /usr/local/bin/chromedriver

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.