Prerequisites
- Node.js 18 or later
- An AI provider API key (Anthropic recommended)
Install
AI provider setup
Set your AI provider API key. Anthropic is the default:Step 1: Prepare context and secrets
Before generating a runbook, you can optionally create:context.md — supplementary information about the target app (login URL, navigation hints, special UI patterns, etc.):
secrets.json — credentials and sensitive values when needed. All values are treated as sensitive:
Step 2: Generate a runbook
Tell AI what you want to accomplish, and it will explore your web app and build a runbook.- Open the browser and navigate to the URL
- Explore the page, deciding which actions to take
- Record each step (clicks, inputs, navigations)
- Review the steps and remove unnecessary ones
- Output a clean runbook
Step 3: Execute the runbook
Run the generated runbook:- Open the browser and navigate to the starting URL
- For each step, resolve the selector to find the target element
- Execute the action (click, input, etc.)
- Report the results
Step 4: Self-heal when UIs change
When the target app’s UI changes and steps start failing, use--self-heal to let AI diagnose and suggest fixes:
fix-runbook command:
What’s next?
Generate command
All options for runbook generation.
Execute command
All options for runbook execution.
CLI overview
See all available commands.
Plan tiers
Unlock advanced features with Pro, Team, or Business.