Hello Guys, How are you all? Hope You all Are Fine. Today I am facing following error while running selenium Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser in java. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
- How Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser Error Occurs ?
- How To Solve Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser Error ?
- Solution 1: Run this command
- Solution 2: allow app
- Summary
How Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser Error Occurs ?
I am facing following error while running selenium.
Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser
How To Solve Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser Error ?
- How To Solve Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser Error ?
To Solve Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser Error First of all open Your terminal. Then Navigate Path where chromedriver file is located. Then Run this command. xattr -d com.apple.quarantine chromedriver Or also You can run this command. spctl –add –label 'Approved' chromedriver Now, your error must be solved. Second solution is First of all Open System Preferences. Then Select Security & Privacy. Under the General tab you are able to see like below Image. Just click on Open Anyway. Then You will see just like second image given below. Just click on Open. Now you can run selenium without any error.
- Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser
To Solve Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser Error First of all open Your terminal. Then Navigate Path where chromedriver file is located. Then Run this command. xattr -d com.apple.quarantine chromedriver Or also You can run this command. spctl –add –label 'Approved' chromedriver Now, your error must be solved. Second solution is First of all Open System Preferences. Then Select Security & Privacy. Under the General tab you are able to see like below Image. Just click on Open Anyway. Then You will see just like second image given below. Just click on Open. Now you can run selenium without any error.
Solution 1: Run this command
- First of all open Your terminal.
- Then Navigate Path where chromedriver file is located.
- Then Run this command.
- xattr -d com.apple.quarantine chromedriver
- Or also You can run this command.
- spctl –add –label ‘Approved’ chromedriver
- Now, your error must be solved.
Solution 2: allow app
You need to allow your app from an unidentified developer. Follow this step to allow app.
- First of all Open System Preferences.
- Then Select Security & Privacy.
- Under the General tab you are able to see like below Image.
- Just click on Open Anyway.
- Then You will see just like second image given below.
- Just click on Open.
- Now you can run selenium without any error.


Now your error must be solved.
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read