{"schemaVersion":"1.0","canonicalUrl":"https://automationtester.in/failures/element-not-visible-or-actionable","slug":"element-not-visible-or-actionable","title":"Element is not visible or actionable","signature":"ElementNotInteractableException: element not interactable","frameworks":["Selenium","Playwright"],"classification":"timing-race","summary":"The test found an element, but a user could not interact with it in its current state.","causes":[{"title":"An overlay covers the target","explanation":"A loader, consent layer, animation, or sticky element intercepts the action.","diagnostic":"Inspect the element at failure time and identify the topmost node at its click point.","fix":"Wait for the overlay to close through the same product state a user observes."},{"title":"The matched node is hidden","explanation":"The locator may select a template, inactive tab, or responsive duplicate.","diagnostic":"Check visibility for all matches and the active container.","fix":"Scope the locator to the visible region or remove inactive duplicates from the DOM."},{"title":"The control is disabled while work completes","explanation":"The test acts before validation or a request enables the control.","diagnostic":"Inspect disabled and aria-disabled changes around the action.","fix":"Assert that the control becomes enabled, then perform the action."}],"prevention":["Test user-visible readiness.","Avoid forced clicks except when testing low-level behavior.","Keep overlays accessible and stateful."],"related":["playwright-timeout-exceeded","playwright-strict-mode-violation"],"references":[{"label":"Playwright actionability","url":"https://playwright.dev/docs/actionability"}]}