
How to setup ChromeDriver on Mac
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.
sudo mv chromedriver /usr/local/bin/
We are giving the right permissions to the executable:
chmod +x /usr/local/bin/chromedriver
Because macOS still prevents it from running, we can manually run this command to allow it:
xattr -d com.apple.quarantine /usr/local/bin/chromedriver
Finally, we are checking that chromedriver can run smoothly from the cli: