MacOS Catalina(v 10.15.3): Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser
Full error message
I have recently upgraded my mac machine to OS Catalina(v 10.15.3). After this upgrade I am unable to launch the chrome driver using selenium. I am facing the below error when I run the selenium code to launch the chrome browser. "“chromedriver” cannot be opened because the developer cannot be verified". "macOS cannot verify that this app is free from malware." Please help me!
Solutionsource: stackoverflow \u2197
I found the work around as below Open terminal Navigate to path where your chromedriver file is located Execute any one of the below commands Command1: xattr -d com.apple.quarantine <name-of-executable> Example /usr/local/Caskroom/chromedriver $ xattr -d com.apple.quarantine chromedriver (or) Command2: spctl --add --label 'Approved' <name-of-executable> Source: https://docwhat.org/upgrading-to-catalina 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
API access
Get this solution programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/error/fc3ea857efaabfef01bb739308229e096fb3e3e67453282f4cc070c7392e76a0hash \u00b7 fc3ea857efaabfef01bb739308229e096fb3e3e67453282f4cc070c7392e76a0