Skip to main content

assertions

Deterministic Assertions

Deterministic assertions implement the assert or expect statement of traditional testing frameworks. You can use them to check that the page text, URL, or title matches a certain text.

  • contains, equals, not-equals and not-contains compare the target to a string, and are case-insensitive.
  • matches, not-matches evaluate a regex against the target.