mac “chromedriver” cannot be opened because the developer cannot be verified.
- Open terminal
- Navigate to path where your chromedriver file is located
- Execute any one of the below commands
xattr -d com.apple.quarantine <name-of-executable>
/usr/local/Caskroom/chromedriver $ xattr -d com.apple.quarantine chromedriver
spctl --add --label 'Approved' <name-of-executable>
Note: This will work only with the file(s) where the above command is executed. If a new chromedriver is downloaded then the command has to be executed again on the newly downloaded file