browser_save_scenario
Save the current browser session as a replayable scenario with end-state assertions, enabling regression testing by running the saved scenario later.
Instructions
EVAL / REGRESSION. Save the current session as a named, replayable scenario: the recorded action bundle plus end-state assertions ("text Order confirmed is visible", "url contains /success"). Later, browser_run_scenario replays it and checks the assertions — a regression test for whether the agent can still complete the flow after a deploy.
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": {
"name": "<name>",
"assertions": "<assertions>"
},
"name": "browser_save_scenario"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A name for the scenario (e.g. "checkout-happy-path"). | |
| assertions | Yes | End-state assertions to verify after the scenario replays. |