Composite Actions
bap act is the killer feature of BAP CLI. It batches multiple browser steps into a single command and a single server call.
Syntax
Examples
Supported Actions
The following actions can be used in composite steps:Fused Observation
Combineact with --observe to get the resulting page state in the same server call:
flag
Perform a post-observation after all steps complete. Returns updated page elements.
string
default:"full"
Response tier for the fused observation:
full, interactive, or minimal.Selector Syntax in Steps
Within composite steps, the parser splits on the first: for the action name, then scans right-to-left for an unquoted = to separate the selector from the value.