In this post, we will learn about how to download ChromeDriver for Mac.
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
Step 2 : Click ellipsis icon (three vertical dots) on top right corner of the browser
Step 3: Select ‘Help‘ (last option)
Step 4 : Select ‘About Google Chrome‘
So, my Chrome version is 121.0. Remember yours, it will be used in later steps.
Download ChromeDriver for Mac :
Step 1 : Navigate to https://chromedriver.chromium.org/downloads
Step 2: Click on the Chrome for testing availability Dashboard link
Step 3: Click on Stable
Step 4: Copy the URL link for the ChromeDriver based on the Operating system and version that we identified in the pre-requisite steps.
Step 3 : Save the chromedriver_mac64.zip file
Step 4 : Unzip the downloaded zip file to retrieve the chromeDriver for Mac
ChromeDriver download for Mac is successful for the latest version of Chrome browser !!
Suggested Reading: Top 30 Cucumber Interview Questions & Answers
Know anyone who would like to learn Selenium to enhance their skills? Let them know by sharing this article on Facebook, Twitter, or LinkedIn.
Thanks a lot,it is very useful for me.