Back to all steps

Check URL

Step fields
URL substring (text)
Assert that the current URL contains the given substring.
Examples: /dashboard · /order/success · ?paid=1
Usage example

Check that the current URL contains a substring.

Examples:

  • /dashboard
  • /order/success
  • ?paid=1
  • #tab-orders — hash routing