Wait For Element To Not Be Displayed
Wait for a specific element to not be displayed.
Wait For Element To Not Be Displayed waits until the Element is no longer shown on the page. Use it after dismiss actions, route changes, or async updates that remove UI.
See Element states for how Displayed differs from Exists and Visible.

When to use it
Wait for a loading overlay or toast to disappear before the next step.
Confirm a modal closed after Cancel or submit.
Prefer Wait For Element To Not Be Visible when the Element must leave the current viewport.
Configure
Basics
Field
What to set
Element
The Element to wait for
Advanced
Field
What to set
How fast is this typically?
Status on fail
When should screenshots be taken?
Always or On Failures (default)
Related
Tags: action, wait, forElementNotDisplayed, wait, time, sleep, pause, element, delay, state
Last updated