For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Added the autoRecordconfig field and the --auto-record CLI flag, which record a video of every test context that runs in a browser. Specs and tests can set their own autoRecord to override the config. Videos use the ffmpeg engine and land at recordings/<specId>/<testId>/<contextId>.mp4 in the run folder. See Automatic recording.
A context can now have several recordings running at once. Give a record step a name, then stop that recording with a stopRecord step set to the name or to { "name": "..." }. A stopRecord step set to true stops the most recent recording.
Behavior changes
A test that reuses the name of a recording that’s still active is now skipped with a warning instead of failing partway through.
A second browser engine recording in the same context switches to the ffmpeg engine and records the viewport, with a warning.
v4.12.1
Bug fixes
Doc Detective no longer creates an empty run folder when nothing writes to it, such as when autoScreenshot is off and the runFolder reporter isn’t selected.
v4.12.0
New features
The debug command’s report adds install status, cache locations, proxy and npm network settings, config sources, and Appium driver registration. It opens with a list of findings and the commands that fix them. See Setup issues.