Course lesson
Use the waitForElementToBeRemoved Async Util to Await Until an Element Disappears
Sometimes, you might need to wait for an element to disappear from your UI before proceeding with your test setup or making your assertion.
- Duration
- 1 min
- Access
- Included
- Transcript
- Retained from source evidence
Sometimes, you might need to wait for an element to disappear from your UI before proceeding with your test setup or making your assertion.
In this lesson, we will learn about a wrapper around the waitFor that allows you to wait until an element is removed from your UI: the waitForElementToBeRemoved.