ElementNotInteractableException: element not interactable in python code example

Example 1: 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()

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

Usually raised when the element you wish to interact with is not visible

Tags:

Misc Example