raise exception_class(message, screen, stacktrace) sselenium.common.exceptions.ElementNotInteractableException: Message: element not interactable: element has zero size code example

Example: selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable

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()