Home » Software Testing » Automation Testing » Selenium WebDriver Tutorial » Installing Chromedriver on MAC

Installing Chromedriver on MAC

ChromeDriver for Mac Machine

In this post i would show you how to download chromedriver for mac machine and will also see the installation of chromedriver on mac machine.Along with this,  we will see selenium webdriver script that will launch chrome browser on mac machine using Chromedriver.

So lets see the proper step by step way to perform installation of chromedriver for mac

Steps:

1- Open this link to download chromedriver

http://chromedriver.storage.googleapis.com/index.html

2-Download latest version of chromedriver for mac.

3- Unzip the file.

4- Copy the chromedriver for mac which is unzipped in step 3 and Open the Finder and click on Go, it will open a dropdown menu. Click on Go to Folder.

5- On Go To Folder windows pop up enter following path “/usr/local/bin”

6- Paste chromedriver for mac on above location.

7- Restart the machine and Open Eclipse and create one Java Class with name “ChromeDriverExample” and paste following code

8- Now Code is ready and run above code as Java Application. Above code will call the chromedriver for mac to get connected with Chrome Browser On Mac Machine through Selenium WebDriver Binary.

9- Above code will launch chrome on mac machine and will open abodeqa.com in Chrome Browser On Mac Machine. This shows that we have setup the chromedriver for mac correctly.

Note:  If above code doesn’t launch the browser, In that case navigate to “/usr/local/bin” location using terminal and run this line of command on terminal

Above command will give rights to Chromedriver For Mac to be called through WebDriver script.

So hope you have successfully configured Chromedriver For Mac machine correctly and if you want to learn the same on windows machine in that case click on this link to read the step by step procedure to Launch Chrome Browser Using WebDriver in Windows. 

Thanks and keep reading more articles.

6 thoughts on “Installing Chromedriver on MAC”

  1. Pingback: Selenium Grid Tutorial: Playing with node registration parameters in grid - Abode QA

  2. I followed the same steps. But when I tried to execute it show permission denied. I am logged in as a non-admin user to the Mac machine. Is that the problem? If yes any workaround!

  3. Pingback: How To Run Selenium Tests In Brave Browser Using ChromeDriver?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top
%d bloggers like this: