How to install selenium webdriver on Mac OS?

Yosuva ArulanthuSelenium, Test Automation, TestingLeave a Comment

Below are the steps you need to follow to install the selenium web driver on Mac,

  1. Open terminal and enter following commands
  2. Check whether you have pip and python installed on your machine using below command.
python3 --version
pip3 --version

if it is not installed install using the below command

brew install python3

3. now install selenium using the pip3 command

pip3 install selenium

if you don’t have pip3 install using the below commands

curl https://files.pythonhosted.org/packages/ed/9c/9030520bf6ff0b4c98988448a93c04fcbd5b13cd9520074d8ed53569ccfe/selenium-3.141.0.tar.gz > selenium.tar.gz
tar -xzvf selenium.tar.gz
cd selenium-3.141.0
python3 setup.py install

Leave a Reply

Your email address will not be published.