-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
🚀 Feature Request
Hi Playwright Team
I’ve built a Python utility called playwright-traceview-html that automatically generates an interactive HTML report of Playwright trace results (with links to open traces directly).
🔗 PyPI: https://pypi.org/project/playwright-traceview-html/
💻 GitHub: https://github.com/JK-JuLaYi/playwright-traceview-html/
What it does
- Scans a results folder (e.g.
test-results/) fortrace_*.zipfiles. - Creates a clean, interactive HTML page listing all test traces and statuses.
- Includes a “Open Trace” link for each item — it runs
playwright show-tracevia a local server. - Adds a “Stop Report Server” button for convenience.
- Works as a standalone command-line tool.
Example
Example command:
python -m playwright_traceview_htmlMotivation
- Makes it easier to review multiple Playwright traces after test runs.
- Ideal for CI/CD workflows, where teams can open a single HTML page summarizing all test traces.
- Simplifies debugging and visualizing large suites.
- Can integrate naturally with the existing playwright show-trace command.
Metadata
Metadata
Assignees
Labels
No labels