def hover(self):
"""
Moves the mouse to the middle of this element
Note that browser support may vary
:Example: Hover over an element
browser.element(name='new_user_button').hover()
"""
self._element_call(lambda: ActionChains(self.driver).move_to_element(self.el)
.perform(), self.wait_for_present)
self.browser.after_hooks.run()
评论列表
文章目录