2018-02-27 python 鼠标悬停
2018-02-27 本文已影响0人
柠月如风000
from selenium.webdriver.common.action_chains import ActionChains
# 识别需要悬停的元素
ele = driver.find_element_by_link_text('车神回归 极品必得')
# 鼠标移到悬停元素上
ActionChains(driver).move_to_element(ele).perform()