Skip to main content

reportforge-playwright-pdf

Designed PDF reports for Playwright pytest runs. Three templates cover three audiences: minimal for PR checks, detailed for QA deep dives, executive for stakeholder reviews.

Same product as the npm reporter @reportforge/playwright-pdf. One subscription key works across Node.js and Python, and machines share one cap.

Install

pip install reportforge-playwright-pdf

Requires playwright with browsers installed (python -m playwright install chromium). The plugin reuses Playwright's own Node runtime and Chromium, so there is nothing else to install.

Quick start

export RF_LICENSE_KEY=RFSU-XXXX-XXXX-XXXX-XXXX
pytest --pdf

The PDF lands at reports/report.pdf by default. Your tests always run in full; without an active subscription only the PDF is skipped.

Configuration

Flags for the common cases:

pytest --pdf --pdf-template=executive --pdf-output="reports/{date}-report.pdf"

Project defaults in pyproject.toml:

[tool.reportforge]
enabled = true
template = "detailed"
outputFile = "reports/{date}-{branch}-report.pdf"
projectName = "Checkout suite"

Every option of the npm reporter is accepted with the same camelCase names. The full reference lives at reportforge.org/docs/configuration; Python specifics at reportforge.org/docs/python.

What you get

  • Pass/fail/flaky/timeout KPIs, suite breakdown, charts, and a release recommendation
  • Failure deep dive with error text, on-device ML failure clustering, and screenshots from --screenshot=only-on-failure
  • Run history trend and run-over-run diff
  • Notifications to Slack, Teams, Discord, or email after the run
  • Display redaction and AES-256 PDF encryption when you need them

Live run streaming and step trees are available in the Node.js reporter today and are on the roadmap here.

License

Elastic License 2.0. A paid subscription is required to generate PDFs: reportforge.org/pricing.

Release files for reportforge-playwright-pdf 0.31.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for reportforge-playwright-pdf 0.31.0
File Interpreter ABI Platform
reportforge_playwright_pdf-0.31.0-py3-none-any.whl Python 3 none any Details

Release files / reportforge_playwright_pdf-0.31.0-py3-none-any.whl

Download URL reportforge_playwright_pdf-0.31.0-py3-none-any.whl
Size 948.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6476d6024efa4dad6aa69efcdc2af3747677823a8d5617ae1bd99f8e18e250e2
BLAKE2b-256 checksum
How to use checksums
0cdeeb12826e65d1f58a75a53f67ab967fdf36591abd24da8090c7fc635858ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release history Release notifications | RSS feed

0.33.2

2 release files

0.33.1

2 release files

0.33.0

2 release files

This release

0.31.0 This release

1 release file

0.30.0

1 release file

0.29.0

2 release files

0.28.0

2 release files

0.27.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page