How to install selenium with python

Click on Chrome in the top left. Then about Google Chrome.
Your version is listed here.
Choose the option that corresponds with your computer.
From the top right hand of your desktop, Click the spotlight magnifier.
Type Terminal in the spotlight window. Choose it
sudo easy_install pip
pip install selenium
mv ~/Downloads/chromedriver /usr/local/bin
Create new project.
Click create
Click close, unless you love distracting tips.
If you don’t see preferences for new projects, you might find it in “other settings”
Choose Python interpreter.
Then Choose an interpreter.
Search for and select selenium
Click the red button to close.
Click okay.
Right click your project (or control click with a magic mouse) and add a file.
Name it automation.py
Give it the name automation.py
from selenium import webdriver
driver = webdriver.Chrome("")
driver.get("https://www.google.com")
Search for chromeDriver.
driver = webdriver.Chrome("") # <- paste  between the quotes.
driver.get("https://www.google.com")

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store