Hi, in this tutorial we will learn how to install chrome driver on Mac OS. It is very easy.

Step1: Download Chrome Driver

You need to go the below address and download chrome driver for Mac operating system.

Link: https://sites.google.com/a/chromium.org/chromedriver/downloads

Download the driver.

Step2: Move the driver to the /usr/local/bin folder

Now, we can move the driver a path which is defined as a path in your system. You can check them with below command and you will see that /usr/local/bin folder is defined as a global path on your system.

sudo nano /etc/paths

If you want you can add a specific path here and you can move the chromedriver to this folder but as you see, /usr/local/bin folder is defined as a path by default.

Now, go to your downloads folder, find the chromedriver_mac64.zip file and unpack it. You will see the chromedriver executable file.

Now, we can run below command and move the chromedriver file to the /usr/local/bin folder.

mv chromedriver /usr/local/bin

And now, you define chromeDriver as shown below in your tests and you can run your selenium tests by using Chrome driver.

Thats all. ūüôā