close

[Solved] Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser

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 ?

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 ?

  1. 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.

  2. 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

  1. First of all open Your terminal.
  2. Then Navigate Path where chromedriver file is located.
  3. Then Run this command.
  4. xattr -d com.apple.quarantine chromedriver
  5. Or also You can run this command.
  6. spctl –add –label ‘Approved’ chromedriver
  7. 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.

  1. First of all Open System Preferences.
  2. Then Select Security & Privacy.
  3. Under the General tab you are able to see like below Image.
  4. Just click on Open Anyway.
  5. Then You will see just like second image given below.
  6. Just click on Open.
  7. 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

Please Rate Our Solution to Motivate Us For Give Our Best

Leave a Comment