> For the complete documentation index, see [llms.txt](https://docs.does.qa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.does.qa/test-steps/check/check-exists.md). Agents can also search and read this documentation through its [MCP server](https://docs.does.qa/~gitbook/mcp).

# Check Exists

Confirm an Element is in the DOM.

Check Exists confirms the [Element](https://docs.does.qa/elements/creating-elements.md) is in the DOM. The Element may still be hidden. Use it when presence in the page structure is enough.

See [Element states](https://docs.does.qa/test-step-options/element-states.md) for how Exists differs from Displayed and Visible.

![Check exists Test Step](https://static.does.qa/assets/nodes/check_is_exist.png)

## When to use it

* Confirm a row or list item was added to the page after a create action.
* Verify markup is present before a later step reads from it.
* Prefer [Check Displayed](https://docs.does.qa/test-steps/check/check-displayed.md) when the Element must be shown to the user.

## Configure

### Basics

| Field       | What to set                                                                |
| ----------- | -------------------------------------------------------------------------- |
| **Element** | The [Element](https://docs.does.qa/elements/creating-elements.md) to check |

### Advanced

| Field                                 | What to set                                                              |
| ------------------------------------- | ------------------------------------------------------------------------ |
| **Status on fail**                    | [Failed Status](https://docs.does.qa/test-step-options/failed-status.md) |
| **When should screenshots be taken?** | `Always` or `On Failures` (default)                                      |

## Related

* [Check Does Not Exist](https://docs.does.qa/test-steps/check/check-does-not-exist.md)
* [Element states](https://docs.does.qa/test-step-options/element-states.md)
* [Check](https://docs.does.qa/test-steps/check.md)

**Tags:** `check`, `is`, `exist`, `test`, `expect`, `assert`, `element`, `state`
