Installing ChromeDriver On MacOS - Chris Kenst
Maybe your like

The ChromeDriver getting started guide isn’t super helpful if you are unfamiliar with including the ChromeDriver location in your PATH environment variable. (The PATH variable helps Chrome find the downloaded ChromeDriver exe). Also it’s a lot of work for something so common. Never fear, here is a better way:
Installing on macOS:
Listed in order of easiest to hardest install, these are the best ways to install ChromeDriver on a Mac:
- The easiest way to install ChromeDriver is to use your package manager such as brew or npm to install the driver.
- In your terminal window with the Homebrew package manager:
- Install ChromeDriver with brew install cask chromedriver
- Confirm it was installed using chromedriver --version and seeing it returns a version. If it errors it wasn’t installed
- Other package managers like npm have similar commands npm install chromedriver
- In your terminal window with the Homebrew package manager:
- Run Chrome & ChromeDriver in a container using Docker. Simply download the combined container, start it and point your code at the right address.
- Specify it in your Selenium setup code and check it into source control like any other configuration detail. If you go this route, you can include additional drivers like GeckoDriver (aka Firefox) as well.
- Download the driver and add its location to your System PATH.
Which methods have you found the easiest or most success with? Which methods didn’t work for you? Please leave a comment below.
Additional Resources
- Install ChromeDriver in your System PATH
- Install ChromeDriver on Windows
- Install SafariDriver on macOS
Oh and if this article worked for you please consider sharing it or buying me coffee to say thanks.
You might also like...
Nov 22 2025Installing Ghost Locally on macOS with hot-reload of templates
3 min read Jun 07 2023Unit testing your e2e test framework
21 min read Apr 22 2022Changing Wordpress' URL structure
2 min read Feb 28 2022Self hosted blogs are not for the faint of heart
2 min read Dec 28 2021The Future of Software Test Engineers and Codeless Tools
22 min readTag » Where To Put Chromedriver Mac
-
How To Install Chrome Driver On Mac - Software Test Academy
-
Installing Selenium And ChromeDriver On OS X - Jonathan Soma
-
Using Selenium On Mac Chrome - Stack Overflow
-
How To Install Chromedriver On A Mac - YouTube
-
How To Install Selenium Chrome Driver On Mac - YouTube
-
How To Setup Chrome Driver With Selenium On MacOS - Edureka
-
ChromeDriver - WebDriver For Chrome
-
How To Setup Chrome Driver With Selenium On MacOS? - Tutorialspoint
-
Installing Chromedriver On Mac| Launch Chrome Browser On Mac
-
How To Run Selenium Tests On Chrome Using ChromeDriver
-
How To Install Chromedriver For Mac OS X / Selenium / Python
-
Install And Launch Chromedriver For Mac, Linux Or Windows. - GitHub
-
Installing Selenium For Python On MacOS With ChromeDriver
-
Install Chromedriver On MacOS With MacPorts