act
Runs batches of browser UI steps—fill forms, submit, click, and assert—in one call; stops on first failure and returns a snapshot for recovery.
Instructions
Run MANY steps in ONE call (fill a whole form, submit, assert) — this is what makes fastqa fast. Targets resolve by ref, label, placeholder, role+name or text — also inside open shadow DOM and iframes — so you usually do not need a snapshot first. Stops at the first failing step and then returns a full snapshot so you can recover. Otherwise returns only what changed on the page (+ added / - removed lines). expect_* steps are QA assertions that poll until they pass or time out. expect_request checks an API call happened with the right status, expect_no_errors fails on JS errors / 5xx since the batch started, expect_accessible runs a WCAG check.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"steps": "<steps>"
},
"name": "act"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | ||
| snapshot | No | What to return after the steps. Default diff. |