- 定位鼠标要悬停到的元素
ele_setting = driver.find_element_by_id('s-usersetting-top')
- 将driver传递给actionchains,加上动作释放perform
ActionChains(driver).move_to_element(ele_setting).perform()
- 定位并点击搜索设置连接
driver.find_element_by_link_text
ele_setting = driver.find_element_by_id('s-usersetting-top')
ActionChains(driver).move_to_element(ele_setting).perform()
driver.find_element_by_link_text