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 -- htoplaunch("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.