JSON Reporter
A test reporter that outputs results in JSON, enabling programmatic processing, dashboards, and custom analysis.
What is JSON Reporter?
What is JSON Reporter?
A JSON reporter emits the outcome of a test run as structured JSON—test names, statuses, durations, error messages, and artifact paths—so the results can be consumed by scripts, dashboards, and analytics rather than just read by a human. This machine-readable output is the backbone of custom reporting: trend tracking, flakiness detection, and integration with internal tools. Playwright ships multiple reporters including JSON, so recorded suites can feed their results into whatever reporting or CI system your team already relies on.