Chromedriver.exe Download For Mac



  1. Chromedriver 64 Bit

Selenium is great for automated testing of web-apps and I’ve been using the Selenium IDE Firefox extension for a few months now.

Download
  • Chromedriver path.
  • Get code examples like 'chromedriver = webdriver.Chrome(“D:driverchromedriver.exe”)' instantly right from your google search results with the Grepper Chrome Extension.

For completeness of automated testing for web apps you need to do this in a number of different browsers which Selenium IDE doesn’t do. So you’ll need to download and install Selenium on your Mac.

June 2020 - this article is out of date - checkout my updated post on Automated Testing

Download Chromedriver to your Mac

Using the Selenium WebDriver, Unable to launch chrome browser on Mac +1 vote Attached screenshot of code and execution console I see no errors after executing the program to Launch a chrome browser on Mac.

Chromedriver.exe

Head over to the Chromedriver Project page and download the latest package.

You then need to unzip the package and then copy the file to /usr/bin

This is a hidden system folder so the easy way to get to this file is

  1. Open another finder window
  2. From the Go menu select Go To Folder
  3. Type /usr/bin and press enter

Now drag n drop the Chromedriver file from your Download folder to this directory. You’ll be prompted for you Admin password.

Finally, I suggest you restart your computer as the next step didn’t work when I tried it.

Basic Test Case for Chromedriver and Selenium

If you’ve already followed my guide to setup Selenium via Python then this will look familiar

Open a terminal window and type the following, pressing enter at the end of each line

After a few seconds, if all is well a new instance of Chrome will open

Chromedriver.exe download for mac

To finish the test just type

driver.get('http://www.damien.co')

To exit Python from your open Terminal, press ctrl+z

I am using selenium with python and have downloaded the chromedriver for my windows computer from this site: http://chromedriver.storage.googleapis.com/index.html?path=2.15/

After downloading the zip file, I unpacked the zip file to my downloads folder. Then I put the path to the executable binary (C:UsersmichaelDownloadschromedriver_win32) into the Environment Variable 'Path'.

MacFor

However, when I run the following code:

... I keep getting the following error message:

Chromedriver 64 Bit

But - as explained above - the executable is(!) in the path ... what is going on here?