from selenium import webdriver driver = webdriver.Firefox() driver.get(url) driver.find_element_by_xpath()
from selenium.webdriver.common.action_chains import ActionChains ActionChains(driver) //用于生成模拟用户行为 perform() //执行存储行为