> 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/runner/wait-for-element-to-be-disabled.md).

# Wait For Element To Be Disabled

Wait For Element To Be Disabled waits until the [Element](/elements/creating-elements.md) becomes inactive. Use it when a control should lock after submit or while background work runs.

See [Element states](/test-step-options/element-states.md) for how Disabled relates to Enabled and Clickable.

![Wait for element to be disabled Test Step](https://app.does.qa/screenshots/node/action_wait_forElementDisabled.png)

## When to use it

* Wait for a submit button to disable while a save request is in flight.
* Confirm a destructive action locks until confirmation completes.
* Pair with [Wait For Element To Be Enabled](/test-steps/runner/wait-for-element-to-be-enabled.md) on the branch where the control should unlock again.

## Configure

### Basics

| Field       | What to set                                               |
| ----------- | --------------------------------------------------------- |
| **Element** | The [Element](/elements/creating-elements.md) to wait for |

### Advanced

| Field                                 | What to set                                                |
| ------------------------------------- | ---------------------------------------------------------- |
| **How fast is this typically?**       | [Timeout Override](/test-step-options/timeout-override.md) |
| **Status on fail**                    | [Failed Status](/test-step-options/failed-status.md)       |
| **When should screenshots be taken?** | `Always` or `On Failures` (default)                        |

## Related

* [Wait For Element To Be Enabled](/test-steps/runner/wait-for-element-to-be-enabled.md)
* [Wait For Element To Not Be Clickable](/test-steps/runner/wait-for-element-to-not-be-clickable.md)
* [Element states](/test-step-options/element-states.md)
* [Runner](/test-steps/runner.md)

**Tags:** `action`, `wait`, `forElementDisabled`, `wait`, `time`, `sleep`, `pause`, `element`, `delay`, `state`
