Optimized workflow execution with compilation into fused batches and action cache warming.
bap run
The fastest way to execute recorded workflows. Compiles workflow steps into fused batches for fewer server calls, and leverages the action cache for repeat runs.
Usage
bap run qa-checkout
bap run qa-checkout --param email=user@test.com --param search=speakers
bap run qa-checkout --dry-run
bap run qa-checkout --warm
string
required
Name of the saved workflow to execute.
string
Parameter substitution in key=value format. Can be specified multiple times.
flag
Show the compiled execution plan without running it. Displays batch structure, fusion flags, and
step reduction percentage.
flag
Force cache warming before execution. Pre-resolves selectors into the action cache.
Compilation
bap run compiles sequential workflow steps into optimized batches:
Adjacent interaction steps are merged into single act calls
Navigation steps get fused observe parameters
Fusion flags (preObserve, postObserve, responseTier) are applied automatically