Skip to main content

Assertions

Add verification checks to ensure your application behaves correctly.

Assertion types

  • Text content — Verify an element contains specific text
  • Visibility — Check that an element is visible or hidden
  • URL — Verify the current page URL
  • Count — Check the number of matching elements