Workflows
Record a sequence of BAP commands and replay them later. Workflows are saved as YAML and support parameter substitution.Record a Workflow
1
Start recording
2
Run your commands normally
bap goto https://shop.example.com --observe bap act fill:label:"Search"="headphones"
~/.bap/workflows/qa-checkout.yml.Run a Workflow
List Workflows
Macros
Macros are reusable workflow fragments. Record them the same way:macro: <name>.
Optimized Execution with bap run
For fastest execution, use bap run instead of bap workflow run. It compiles workflows into fused batches: