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")

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Making HTTP Requests in Android/Kotlin with Fuel

Swarm of Duty II — Scaling Storage Capacity

The Top 5 Free Basecamp Alternatives To Use in 2018

Structured Streaming: Essentials

Speed up your Coding Learning Curve with Conditional Statements in C#

Andela Cohort ‘14

How to Hard Reset LG Zero H650E

Hard Reset LG

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
Scott

Scott

More from Medium

How to create a static website using HUGO on Heroku

A short guide to an IoT Obstacle Detection Device

Getting Started with Django on Visual Studio Code

How the Howdoi API can Help You Find Answers to Questions in Real-Time