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

Installing Chromedriver on MAC

Installing Chromedriver on MAC

In this post i would show you how to install chromedriver on mac machine and finally we will see one script that will launch chrome browser on mac machine using Selenium Webdriver.

So lets see the proper step by step way to perform installation of chromedriver on 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 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

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

9- IF chrome get launched and it opens “http://abodeqa.com” then start writing more code for chrome browser and now it will work for all codes.

So above we have learned how to launch chrome browser using selenium on mac machine, and assuming you would be familiar to launch chrome on windows machine, but if you really find solution to launch chrome on windows then read Launch Chrome Browser Using WebDriver in Windows. 

 

Note: if still code does not works then go to folder “/usr/local/bin” where chromedriver has been kept and double click on chromedriver and again restart your machine  and run the above code and its pinnacle solution that this will start working.

 

Thanks and keep reading more articles.

Read Similar Posts



5 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!

Leave a Reply

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

%d bloggers like this: