from selenium.webdriver.common.action_chains import ActionChains ActionChains(driver).move_to_element(element).click().perform()