The qawolf CLI exposes five top-level commands. Each section below documents the command’s purpose, accepted arguments, and flags.Documentation Index
Fetch the complete documentation index at: https://qawolf-local-execution-cli.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
auth
Manages authentication with the QA Wolf platform. Credentials are read from the QAWOLF_API_KEY environment variable first, then from the system keychain, then from a config file fallback.
auth login
Prompts for an API key, validates it against the platform, and stores it locally. Requires an interactive terminal — in non-interactive contexts, set QAWOLF_API_KEY directly.
auth logout
Removes stored credentials. Credentials set via the QAWOLF_API_KEY environment variable cannot be removed by this command.
auth whoami
Displays the authenticated team name, ID, optional slug, and the credential source.
flows
Manages and runs QA Wolf flows.
flows run [pattern]
Runs flows matching [pattern], or every flow when omitted. The default pattern matches **/*.flow.{ts,js} in the current working directory and in .qawolf/<env>/ subdirectories.
--retries <n>— number of retries for each failing flow. Default:0.--bail— stop after the first failure. Default:false.--workers <n>— parallel worker count. Default:1. Currently capped at1.--timeout <ms>— per-flow timeout in milliseconds. Default:30000.--video <mode>—on,off, orretain-on-failure. Default:off.--trace <mode>— Playwright trace mode.on,off, orretain-on-failure. Default:off.--har <mode>— HAR capture mode.on,off, orretain-on-failure. Default:off.--har-content <mode>—omitorfull.fullincludes response bodies and uses more memory. Default:omit.--output-dir <path>— directory for artifacts. Default:qawolf-output.--headed— show the browser window instead of running headless. Default:false.--env <env>— environment ID. When set, missing flows are pulled before the run.
0 when all flows pass, 1 when one or more flows fail, 2 for invalid arguments or an unrecognized flow target. See Exit codes.
flows list [pattern]
Lists flows matching [pattern]. By default, lists local flows; with --remote, lists flows from the QA Wolf platform.
--remote— list flows from the QA Wolf platform instead of the local project. Default:false.
flows pull
Downloads an environment’s flows into the local .qawolf/<env>/ cache.
--env <env>— required. The environment ID to pull from.--out <path>— destination directory. Defaults to.qawolf/<env>/.--yes— overwrite locally-modified files without prompting. Default:false.
install
Installs every runtime dependency the project’s flows need. With a [pattern] argument, only the dependencies for the matching flows are installed.
install browsers [pattern]
Installs the Playwright browsers used by the project’s web flows.
install android [pattern]
Installs Android system images, AVDs, and the Appium driver used by the project’s Android flows. Requires ANDROID_HOME or ANDROID_SDK_ROOT.
init
Scaffolds a QA Wolf project in the current directory. Creates qawolf.config.ts, an example flow at src/flows/example.flow.ts, and .qawolf/.gitignore. Adds the @qawolf/flows dependency and a test:e2e script to package.json.
--yes— overwrite existing files without prompting. Default:false.
doctor
Diagnoses problems running flows locally. Checks the CLI version, Node.js version, Playwright installation, browser availability for web flows, and the Android SDK for Android flows.
--all— run every platform check, including platforms the project does not use. Default:false.