> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-web/en/when-the-test-doesnt-work/common-errors/element-is-not-interactive.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# Element is not interactive

If Autify is unable to interact with an element it finds during a test run, the following message will appear in the test result.

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-14576bb10236e2aa9d0c0927783bcef8694dc977%2Fen_element_is_not_interactive.png?alt=media)

In this article, you will find the causes of this error and how to handle them.

## Element is inactive

Often, an element becomes active when a certain action is performed (this is often the case with form input, for example). The error occurs when the action that activates the element is missing and the action, such as text input, is performed while the element is inactive.

Please edit the scenario so that the element becomes active and re-run the test.

## Autify grabbed an element that is not displayed on the screen

Even if an element isn't visible on the screen, Autify will grab it as long as it exists inside the HTML. Therefore, even if the target element is visible on the screen, if there's an element with similar characteristics inside the HTML, Autify may grab the wrong element.

Define the [Locator](https://help.autify.com/nocode-web/en/autify-university/advanced/locator-feature/add-a-locator.md) so that it grabs the correct element displayed on the screen, and re-run the test.

## There is an unexpected pop-up window or modal on the screen

The error can occur if the target element is hidden by a pop-up window or modal that you forgot to close, or that was not closed (or accidentally opened).

Please add a step that closes the pop-up window or modal and re-run the test.

## There is no hover step

When interacting with an element that appears on mouseover, the element will not appear on the screen unless you add a [hover step](https://help.autify.com/nocode-web/en/autify-university/foundation/creating-a-scenario/hover-step.md). The error may occur if you try to interact with the element while it's not displayed on the screen.

If this is the case, see [Actions on elements that appear on mouseover result in Fail or Review Needed](https://help.autify.com/nocode-web/en/when-the-test-doesnt-work/test-issues/troubuleshoot-hover-step-need-review.md).

## The CSS selector / XPath specified in the locator is incorrect

In some cases, Autify may not be able to perform a step that involves an element selected using a locator.

A text input step requires the target element to be an element that allows input (input element or a textarea element, for example). However, if the locator selects an element that does not allow input, such as the div element above the input element, Autify will not be able to perform the input, resulting in this error.

Look at the screenshot below. If we want to use a locator in an input step that enters text into the search box, we need to enter the CSS selector/XPath for the input element (shown in red). However, the error would occur if we incorrectly specify the div element above it (`div.search-form`, shown in blue).

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-0b262591acbdc2aada26952b24b0091d821be1b0%2Flocator-issue.png?alt=media)

The CSS selector should point to the input element, which is below the div element:

```css
div.search-form input
```

Please check that the value set in the locator is correct.

## If you are still having trouble...

Please contact us. We will work with you to resolve this issue.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.autify.com/nocode-web/en/when-the-test-doesnt-work/common-errors/element-is-not-interactive.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
