I'm new to programming and I was just messing around with selenium. I started simple by using it to visit a website. It got me thinking, how would one visit multiple sites, specifically one after the other? How would I go about doing that in Python?
I guess what I'm asking is how would I use selenium to visit a list of sites one after another, waiting about 10 seconds in between going to the sites.
Here's what I have so far:
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Firefox(executable_path='PATH_TO_WEBDRIVER')
url = "http://www.google.com"
driver.get(url)
print(driver.title)