Python Selenium Loop Through Links
问题 Im new to python, or coding for that matter... This part of the code allows me to find all the elements that I want to click (click on the link open a new tab) from selenium import webdriver import time driver = webdriver.Chrome() driver.get("http://www.rezultati.com/kosarka/filipini/kup/") list_of_links = driver.find_elements_by_css_selector(".cell_ad.time") for link in list_of_links: link.click() Obviously this for loop only opens links.. I'm interested in how to add, somethin like this, to