from selenium.webdriver.common.action_chains import ActionChains button = driver.find_element_by_class_name(u"infoDismiss") driver.implicitly_wait(10) ActionChains(driver).move_to_element(button).click(button).perform()