Dynamic & timing
Dynamic loading
Content that is hidden in the DOM, or not rendered at all, until a slow operation finishes.
Practice tasks
- Example 1: the heading exists but is hidden — wait for visible.
- Example 2: the heading does not exist until loaded — wait for attached.
- Pick a custom delay and assert the total wait is close to it.
- Use the API-backed example to wait on a network response.