Use Case
Automated QA
Check UI rules reliably in CI: screenshot, assert, and facts as API calls in the pipeline you already have.
Typical CI flow
- 01Deploy the staging URL
- 02
POST /v1/assertwith the critical rules - 03On failure, capture
/v1/screenshot - 04Fail the pipeline when
passed=false
Assert example
json
{
"url": "https://staging.example.com/checkout",
"assert": [
{ "selector": "#buy", "visible": true },
{ "selector": ".price", "contains": "29" }
]
}