Explore projects
C#beginnerdevops
Automated Screenshot Tester
.NET tool that takes automated screenshots of URLs, compares them with a baseline, and reports visual differences.
5 steps
Project steps
- 01
Playwright screenshots
List of URLs from config; Playwright headless captures each page.
- 02
Baseline management
First run saves baseline; subsequent runs compare with it.
- 03
Pixel diff
ImageSharp: compares pixels, calculates % difference, generates diff image with red on different areas.
- 04
Threshold config
Config: diff > 0.5% = WARNING, > 2% = FAIL.
- 05
HTML Report
Spectre.Console + HTML report with before/after/diff side-by-side.
Recommended resources
Ready to build this?
Fork the repo on GitHub and start building. A mentor will review your code when you open a PR.
5 steps
Tech stack
C#.NET 8PlaywrightSixLabors.ImageSharpSpectre.Console