Overview
Reference
Every part of danwo's API, config and CLI, generated from the code with danwo spec.
Each page is built from danwo spec, so it says what the installed danwo exports. A coding agent can read the same with danwo spec <topic>.
Test API
test
Declares tests, their invariants, saved sessions and fresh values; what a *.danwo.ts file is built from.
Fixtures
What test bodies receive: the app, the screen and each provider's handle, added with test.extend.
screen and Locator
Finding elements the way a user names them, acting on them, and the app and mail handles beside them.
expect
Assertions on locators and pages that wait until they hold or time out.
agent
Plain-English steps: act, assert, extract and waitFor, verified and cached for replay.
Secrets
Configured secrets, filled by name so the model never sees their values.
Project
Config
danwo.config.ts: defineConfig and every option.
CLI
Every danwo command and its options.
Environments
Starting the app and the emulators a worker's tests run against.
Errors
Every error code a run reports, and what to do about it.
Cache outcomes
What the replay cache did with each recorded step.
Every export
Every name @danwo/sdk exports, with its kind and what it is: one list to search.