driver = webdriver.Firefox(executable_path=driver_path) action = webdriver.ActionChains(driver) element = driver.find_element_by_id('your-id') # or your another selector here action.move_to_element(element) action.perform()