API …
Web elements

Notifications & add/remove

Auto-dismissing toasts, randomised notification text and elements added or removed at runtime.

Practice tasks

  • Trigger a toast and assert it disappears after ~3.5 s.
  • Click “Random notification” until you see all three outcomes.
  • Add five elements, delete two, assert the count.
  • Assert the closable alert is removed from the DOM, not just hidden.

More Web elements practice