Docs
API 1.39
Status
Conditions

url

The `url` condition.

True when the page URL matches a glob (* within a path segment, ** across segments, ? one character), or a regular expression given as { "matches": … }.

Type: string or object

#Keys

KeyTypeDescription
url.matchesstringA regular expression the full page URL must match.

#Example

{
  "url": "**/dashboard"
}

From the contract fixture login-2fa-checkpoint-report, a program the test suite validates.

Was this page helpful?