How to setup Chrome driver with Selenium on MacOS?

We can set up Chrome driver with Selenium on MacOS by the following steps. First we have to download the chromedriver.exe file from the below link −

Based on the local Chrome browser version, click on the link for download. In the next page, choose the option link for download for MacOS.

Once the download is completed, a zip file gets created. We have to unzip it and we shall have a file called chromedriver. Next, launch the Finder window and click on the Go menu from the top. Then, click on the Go to Folder.

Enter /usr/local/bin and select Go (check if the bin folder is present. If it is absent, we have to create one) and copy the chromedriver file that we downloaded inside the directory /usr/local/bin.

Updated on: 06-Apr-2021

5K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started