Skip to content

Basic Usage

Terminal window
frontend-qa scan [options]

scan is the default command — frontend-qa with no subcommand runs it.

If you omit --url, frontend-qa first checks for an already-running dev server; if none is found, it detects a Vite or Next.js project in the current directory, picks the right package manager, and launches a dev server itself for the duration of the scan.

Terminal window
frontend-qa scan --url http://localhost:3000
Terminal window
frontend-qa scan --route / --route /about --route /pricing

Defaults to ['/'] if omitted. Pass --discover-routes to have frontend-qa crawl same-origin links from the routes you gave it and scan those too.

Terminal window
frontend-qa scan --discover-routes
Terminal window
frontend-qa scan --viewport 1280x800

Runs with a visible browser window instead of headless — useful when debugging a scan interactively:

Terminal window
frontend-qa scan --headed

Per-route navigation timeout in milliseconds (default 30000):

Terminal window
frontend-qa scan --timeout 60000
Terminal window
frontend-qa scan --out ./qa-output

Defaults to .local/frontend-qa/runs/<runId>/ under the project root.

Terminal window
frontend-qa scan --har
Terminal window
frontend-qa scan --fail-on critical # only exit non-zero on critical
frontend-qa scan --fail-on never # always exit 0

Default is high. See Configuration Reference for the full option table and every default.

Terminal window
frontend-qa scan --a11y --perf --visual

Covered in depth in their own guides — these are slower checks so they’re off unless requested. Runtime collectors (console, network, screenshot, timing) always run.