Docs/Steps

Page Check

page-check asserts page-level state: URL, title, or a JavaScript expression evaluated in the page context.

yaml
- page-check:
    url-ends-with: /dashboard
    title-contains: Dashboard

- page-check:
    expression: "window.__APP__.user.role === 'admin'"