> 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-not-displayed.md). Agents can also search and read this documentation through its [MCP server](https://docs.does.qa/~gitbook/mcp).

# Check Not Displayed

Confirm an Element is not shown on the page.

Check Not Displayed confirms the [Element](https://docs.does.qa/elements/creating-elements.md) is not shown on the page. Use it after an action that should hide content, or to prove a block stays hidden.

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

![Check not displayed Test Step](https://static.does.qa/assets/nodes/check_is_notDisplayed.png)

## When to use it

* Confirm an error banner or modal closed after dismissal.
* Verify a loading spinner or overlay is gone before the next step.
* Pair with [Check Displayed](https://docs.does.qa/test-steps/check/check-displayed.md) on different branches of the same Flow.

## 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 Displayed](https://docs.does.qa/test-steps/check/check-displayed.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`, `notDisplayed`, `test`, `expect`, `assert`, `element`, `not`, `displayed`, `hidden`, `state`
