Function: waitForElementToBeRemoved()
waitForElementToBeRemoved(
elementOrCallback,options?):Promise<void>
Defined in: wait-for.ts:62
Waits for an element to be removed from the widget tree.
Parameters
| Parameter | Type | Description |
|---|---|---|
elementOrCallback | ElementOrCallback | The element to watch or a callback returning the element |
options? | WaitForOptions | Wait options (timeout, interval, onTimeout) |
Returns
Promise<void>
Promise resolving when the element is removed
Throws
If the element is already removed when called, or if timeout is reached