How to install a chrome driver in Mac OS?

Yosuva ArulanthuSelenium, Test Automation, TestingLeave a Comment

Below are steps you need to follow to install chrome driver in Mac

  1. Command to install chrome driver using npm command
npm install chromedriver

It will install chrome driver in /Users/<username>/node_modules/chromedriver/lib/chromedriver/chromedriver and you need to specify this path in your code

2. You can also download chrome driver from the below URL and use it in your code

https://sites.google.com/chromium.org/driver/

Leave a Reply

Your email address will not be published.