Install
openclaw skills install @antreasantoniou/heimdallEvidence-backed browser and API test plans
openclaw skills install @antreasantoniou/heimdallHeimdall turns a JSON plan into a structured test report. It is designed for agents, but it refuses to pretend that a blocked, skipped, or unexecuted case passed.
heimdall doctor
heimdall init -o heimdall.plan.json
heimdall validate heimdall.plan.json
heimdall run heimdall.plan.json
If the CLI is missing, install the public source release:
npm install -g git+https://github.com/AntreasAntoniou/heimdall.git
npx playwright install chromium
| Driver | Use it for | Important limit |
|---|---|---|
cdp | Parallel, self-driven browser and API checks | Fresh Playwright contexts are not a user's logged-in Chrome |
container | Destructive or untrusted systems needing isolation | Requires Docker; fidelity is Linux Chrome |
extension | Highest-fidelity checks in a real logged-in browser | Heimdall cannot self-drive it and reports the case blocked |
Default to cdp. Use container when isolation matters more than desktop fidelity. Use
extension only as an explicit handoff to a browser-capable human or agent.
Every case needs at least one oracle. A sequence of clicks without an assertion is not a test.
{
"name": "smoke",
"baseUrl": "http://localhost:3000",
"defaultDriver": "cdp",
"cases": [
{
"id": "home-loads",
"steps": [{ "action": "goto", "url": "/" }],
"oracle": [
{ "assert": "visible", "selector": "main" },
{ "assert": "noConsoleErrors" }
],
"risk": "read-only",
"priority": "p0"
}
]
}
Use heimdall schema for the full plan vocabulary. The source of truth is
src/schema.ts.
${env.API_TOKEN}. Never inline them
in plans or reports.storageState file for authenticated CDP runs and keep it outside
version control.The command exits non-zero on failures, errors, or when nothing actually ran. Review
heimdall-runs/latest/report.json plus case screenshots and HAR files. A blocked case is
a handoff, not evidence of success.
Useful controls:
heimdall run plan.json --filter smoke --concurrency 4
heimdall run plan.json --json
heimdall run plan.json --allow-risk
heimdall run plan.json --diff before/report.json
heimdall mcp
--allow-risk permits all destructive, paid, and production cases in the selected plan.
Only use it when every target, side effect, and recovery path is understood.
Report the plan path, driver used, cases executed, verdict counts, evidence directory, and every blocked or skipped case. Never summarize a partial or non-run as a pass.