In this post, we will learn about how to download ChromeDriver for Mac.
- For running Chrome browser tests on your local machine you need to download ChromeDriver from the project website and make it available on your machine by setting the PATH to the ChromeDriver executable. Alternatively, if you have a Mac and have homebrew installed, you could just type brew cask install chromedriver into your terminal.
- Download mac64m1.zip if your mac has Apple Silicon M1 CPU otherwise select the mac64.zip version if your mac has Intel CPU. 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.
ChromeDriver is a separate executable that Selenium WebDriver uses to control Chrome. It is maintained by the Chromium team with help from WebDriver contributors. If you are unfamiliar with Selenium WebDriver, you should check out the Selenium site. Follow these steps to setup your tests for running with ChromeDriver: Ensure Chromium.
Selenium WebDriver is an open source tool for automated testing of web applications across different browsers. It provides capabilities for navigating to web pages, user inputs, user actions, JavaScript execution, and more.
But Selenium WebDriver can’t perform the above mentioned actions on its own. It needs support from browser to complete user actions. So, ChromeDriver came to aid Selenium WebDriver to perform these actions on Chrome browser.
Likewise, we have SafariDriver for Safari browser, GeckoDriver for Firefox, EdgeDriver for Microsoft Edge, InternetExplorerDriver for InternetExplorer and so on.
ChromeDriver is actually the WebDriver for Chrome.
ChromeDriver is available for Chrome on Desktop (Mac, Linux, Windows and ChromeOS).
Pre-requisite :
Before proceeding to the download steps, we need to check our chrome browser version in order to download compatible version of ChromeDriver for Chrome.
Step 1: Open Chrome Browser
Chromedriver Download For Macbook
Step 2 : Click ellipsis icon (three vertical dots) on top right corner of the browser
Chromedriver Mac Os
Step 3: Select ‘Help‘ (last option)
Step 4 : Select ‘About Google Chrome‘
So, my Chrome version is 80. Remember yours, it will be used in later steps.
Chromedriver Download For Mac Catalina
Download ChromeDriver for Mac :
Step 1 : Navigate to https://chromedriver.chromium.org/downloads
Step 2 : Select the ChromeDriver link based on your chrome version that we identified in the pre-requisite steps.
Step 3 : Click the chromedriver_mac64.zip file link
Step 4 : Unzip the downloaded zip file to retrieve the chromeDriver for Mac
ChromeDriver is available for Chrome on Desktop (Mac, Linux, Windows and ChromeOS).
Pre-requisite :
Before proceeding to the download steps, we need to check our chrome browser version in order to download compatible version of ChromeDriver for Chrome.
Step 1: Open Chrome Browser
Chromedriver Download For Macbook
Step 2 : Click ellipsis icon (three vertical dots) on top right corner of the browser
Chromedriver Mac Os
Step 3: Select ‘Help‘ (last option)
Step 4 : Select ‘About Google Chrome‘
So, my Chrome version is 80. Remember yours, it will be used in later steps.
Chromedriver Download For Mac Catalina
Download ChromeDriver for Mac :
Step 1 : Navigate to https://chromedriver.chromium.org/downloads
Step 2 : Select the ChromeDriver link based on your chrome version that we identified in the pre-requisite steps.
Step 3 : Click the chromedriver_mac64.zip file link
Step 4 : Unzip the downloaded zip file to retrieve the chromeDriver for Mac
Webdriver For Chrome
ChromeDriver download for Mac is successful !!
Suggested Reading:Top 30 Cucumber Interview Questions & Answers
Chromedriver Download For Macbook Pro
Know anyone who would like to learn Selenium for enhancing their skills? Let them know by sharing this article on Facebook, Twitter, or LinkedIn.