act
Batch predictable browser steps into one effect-checked call to save turns, returning a single snapshot and stopping early on failure or submit/pay/delete controls.
Instructions
Your DEFAULT way to act — batch every step you can predict (on form wizards, nearly all). Each step is effect-checked, ONE snapshot returns at the end; every call you merge saves a full model turn. Stops early on no-effect / failure / submit-pay-delete controls. read {ref|find|selector, attr?} or {contains} brings an observation back mid-batch. Blocks (one level): repeat {steps,until,max} for pagination/load-more; if {cond,then,else} for optional banners; assert {cond} stops unless the page matches. cond = {urlContains|selectorExists|textContains, not} (OR-ed), or {ref|selector, checked|value|text} for one element. Inside repeat use find/selector, never ref. Elsewhere: ref until the page re-renders, find after.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | Up to 20 steps, executed in order. | |
| tabId | No | Target tab id. Omit to use the active controlled tab. | |
| spaceId | No | Pin this command to an owned BeatBrowser TaskSpace. Also pass its tabId. | |
| snapshotId | No | snapshotId the ref came from | |
| allowSensitive | No | Let the batch run through a submit/pay/delete control instead of stopping at it. Off by default on purpose — say so explicitly and it gets recorded in the audit log. |