Basic usage
With a config file ready and the CLI authenticated, start a run:Command options
| Option | Alias | Description | Default |
|---|---|---|---|
--config <path> | -c | Path to the config JSON file | ./qaos-config.json |
--headed | -h | Run with a visible browser window | Headless |
Default config lookup
If no--config flag is given, QAOS looks for qaos-config.json in the current working directory:
Headed mode
Use--headed (or -h) to open a visible browser window during the run. This is useful for:
- Debugging task descriptions that aren’t producing expected behavior
- Watching the agent navigate your application
- Understanding how the agent interprets your pages
Headed mode may be slightly slower than headless mode. Use headless for production CI pipelines.
What happens during a run
Connection
The CLI connects to the QAOS server over WebSocket and sends your config to initiate the run. A run ID is assigned and printed.
Task execution
Tasks execute sequentially. For each task:
- The browser navigates to
startUrl - The agent analyzes the page (DOM, screenshots, network headers, cookies, console logs)
- Subtasks are generated for interactive tests (e.g., attempting login with weak passwords)
- Issues are detected and reported in real time
Agent evaluation
At each page, the selected subagents evaluate the page against their full issue catalog — using a combination of deterministic checks (fast, code-based) and LLM evaluation (deeper, context-aware).
Real-time output
While the run is in progress, the CLI displays a live feed:Running in CI/CD
QAOS works well in CI pipelines. Use API token authentication and a pre-committed config file:GitHub Actions example
0 on success and a non-zero code if the run fails or the server is unreachable.
Troubleshooting
Authentication error on startup
Authentication error on startup
Your token may have expired or been revoked. Re-authenticate:
Config file not found
Config file not found
Check the path you provided:
Browser fails to launch
Browser fails to launch
QAOS uses Playwright internally. If the browser fails to start, install the required browser binaries:
Run times out
Run times out
If your application loads slowly, consider adding descriptive context in your task config to help the agent understand the expected behavior. Each task has a generous timeout, but very slow pages may occasionally be skipped.