testingterm
These docs were written by an AI agent. They were checked against the code, but may still contain mistakes; when in doubt, trust testingterm --help and the types.

Headed mode

Watch a run live in a window.

experimental

The window is meant for watching; it does not take keyboard or mouse input.

$ testingterm run tests/menu.test.mjs --headed --slow-mo 300
$ testingterm new --headed -- htop
launch("htop", { headed: true, slowMo: 250 });

Each terminal opens in its own window showing exactly what screenshots and videos show, including the pointer, clicks and keys pressed. slowMo (or --slow-mo) waits after every action so a person can follow along.

Headed mode needs a desktop session. It uses a separate engine binary that is only started when you ask for a window, so headless runs never load windowing code.