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.