from selenium.webdriver.common.action_chains import ActionChainsdef hover(self): wd = webdriver_connection.connection element = wd.find_element_by_link_text(self.locator) hov = ActionChains(wd).move_to_element(element) hov.perform()

from selenium.webdriver.common.action_chains import ActionChainsdef hover(self): wd = webdriver_connection.connection element = wd.find_element_by_link_text(self.locator) hov = ActionChains(wd).move_to_element(element) hov.perform()