from selenium.webdriver.common.action_chains import ActionChains
login = driver.find_element_by_link_text('登录')
ActionChains(driver).move_to_element(login).perform()
from selenium.webdriver.common.action_chains import ActionChains
login = driver.find_element_by_link_text('登录')
ActionChains(driver).move_to_element(login).perform()