browser_batch
Run multiple independent page actions on one tab in sequence from one snapshot and return a fresh snapshot in a single call instead of one per step.
Instructions
Run several page actions on one tab in a row, all aimed with the numbers of one snapshot, then get a fresh snapshot back — one call instead of one per step. Use it for steps that do not depend on each other's result: tick two filters, fill three fields that are already on screen. Do not put a step in that aims at something an earlier step makes appear (a suggestion list, a menu): its number does not exist yet. Stops at the first failure; after a step the browser says changed the page, the later steps that aim by number are skipped. Worth using for a single action too: the snapshot comes back in the same call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab to act on. Defaults to the foreground tab of that window. | |
| actions | Yes | ||
| windowId | No | Window to act on. Defaults to the frontmost window. | |
| snapshotId | No | From the snapshot the numbers were read from; required when any step names an emsn (a step may carry its own in args instead). |