WarUI

Headless Command-Line Benchmark Mode

GRID-A28-F22P1beyond-baselinePlanned

Runs the same scenarios in automated browsers from the command line, outputting result files identical to the in-page lab. Enables local reproduction of CI numbers and runs on users' own hardware fleets.

Planned. This page shows the specification from issue #208. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

Docs page shows an interactive command builder and a sample terminal output.

Expected behavior

The command string updates as controls change; a sample output and resulting JSON preview demonstrate that the format matches the in-page export. A note explains headless vs headed rendering differences.

Planned API surface

cli bench run--scenario--browser--iterations--output--headed--cpu-throttle

Acceptance criteria

  • CLI output conforms to the same result schema as in-page export (pending)
  • Headless/headed mode and throttle factor are recorded in metadata (pending)
  • Exit code non-zero when budgets fail if a budget file is supplied (pending)
  • Browser binary version recorded (pending)
  • No telemetry is sent by the CLI (pending)