How to setup ChromeDriver on Mac

How to setup ChromeDriver on Mac

T

Theodoros Kafantaris

Published on September 12, 2024

First of all, we visit the following link to download the relevant chromedriver for our Operating system.

https://googlechromelabs.github.io/chrome-for-testing/#stable

Now that we have downloaded the relevant chromedriver, we are opening the terminal in this folder.

And now we are moving the chromedriver to the right system folder:

Code
                    sudo mv chromedriver /usr/local/bin/
                

We are giving the right permissions to the executable:

Code
                    chmod +x /usr/local/bin/chromedriver 
                

 Because macOS still prevents it from running, we can manually run this command to allow it:

Code
                    xattr -d com.apple.quarantine /usr/local/bin/chromedriver
                

Finally, we are checking that chromedriver can run smoothly from the cli:

That's it! Enjoy it!

About Our Blog

Dive into a world where technology meets intellect. Explore software development, literature, philosophy, history, science, mathematics, and physics. From technical tutorials to intellectual exploration—stay curious and inspired.

â’¸ 2025. All rights reserved by atomic