You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
report.css has no print rules, so printing or saving the report as PDF includes the sidebar and filter controls and cuts off content. Add a @media print stylesheet.
Done when: printing hides the sidebar, filters and buttons; detail rows of failed tests are expanded; charts and table rows don't split across pages; text is readable on a light background even when the dark theme is active.
Relevant code: src/main/resources/report/ (report.js, report.css, partials/*.html); HtmlReportGenerator.java fills the {{...}} placeholders. To see your change, run the selenium-boot-test suite against your local build (mvn clean install -DskipTests, then mvn test -Dselenium-boot.version=<your-version>) and open the generated selenium-boot-report.html. Check dark theme and a matrix run. Comment here before starting so we don't double up.
Hi! I'd like to work on this issue. I'll inspect the existing report CSS and HTML, add print-specific styles to hide unnecessary controls, improve readability, and prevent report content from splitting across pages. I'll also test the output with both light and dark themes before submitting a PR. Please let me know if anyone is already working on this.
Activity
AnubhavMaheshwari commentedon Nov 2, 2026
Hi! I'd like to work on this issue. I'll inspect the existing report CSS and HTML, add print-specific styles to hide unnecessary controls, improve readability, and prevent report content from splitting across pages. I'll also test the output with both light and dark themes before submitting a PR. Please let me know if anyone is already working on this.
Fix report print stylesheet (seleniumboot#221)
AnubhavMaheshwari commentedon Nov 3, 2026
Hi, thanks for the feedback!
I've addressed the requested changes:
./mvnw test.I've pushed the updated changes. Could you please review the PR again?
Thanks!
TestNG reports1.pdf
TestNG Report.pdf
Fix report print stylesheet (#221) (#236)
shossain786 commentedon Nov 4, 2026
Fixed by #236 — thanks @AnubhavMaheshwari for the print stylesheet. It will ship in the next release.