- Install Chrome Driver:
- Go to: https://sites.google.com/a/chromium.org/chromedriver/home
- Download chrome driver
- Unzip chromedriver
- Move file to usr/local/bin
mv /Downloads/chromedriver /usr/local/bin
- Install Brew
- Go to: https://brew.sh
- Install Python 3
brew install python3
- Install Selenium
pip3 install selenium
Execute "run" to to launch your script!
Note: On the first launch it will ask you to verify chromedriver. To do this, go to System Preferences > Security & Privacy > General > chomedriver: Allow anyways
Refer to Selenium with Python for detailed docs