def hover(self, element): hover = ActionChains(self.browser).move_to_element(element) hover.perform()