URL path, query parameter, fragment, JSON Pointer assertions. Useful for marketing-link QA and analytics PMs.
Step phrasings in this group
The book sidebar lists each individual step page under this group.
Then the path should be "/dashboard"Assert the current URL pathname equals an expected string (no query/fragment).
Then the path should not be "/login"Assert the current URL pathname is NOT equal to an expected string.
Then current url should have the "lang" parameterAssert the current URL has the named query parameter (any value).
Then current url should have the "lang" parameter with the "en" valueAssert the current URL has the named query parameter with the exact value.
Then current url should not have the "missing" parameterAssert the current URL does NOT carry the named query parameter.
Then current url should not have the "lang" parameter with the "fr" valueAssert the current URL does NOT carry a parameter+value pair.
Given the basic authentication with the username "admin" and the password "secret"Re-open the browser context with HTTP basic-auth credentials.
When I go backNavigate one step back in the browser history.