Skip to content
Advertisement

Message: element not interactable. Xpath correct

How can I click? Obviously with the mouse I can, and a new mask appears. While with the click () the following error appears.

Obviously the Xpath is correct in fact it reports the following code =

JavaScript

this message error:

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

Advertisement

Answer

Use WebDriverWait() and wait for element_to_be_clickable()

JavaScript

you need to import below libraries

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement