Automates visual regression testing using the Playwright screenshot comparison API and pixelmatch diffing library. Captures baseline snapshots, detects pixel-level UI changes across viewport sizes, and generates HTML diff reports with threshold-based pass/fail results.
Scanned 6/8/2026
Install via CLI
openskills install agentskillexchange/skills---
name: "Playwright Visual Regression Tester"
slug: "playwright-visual-regression-tester-3"
description: "Automates visual regression testing using the Playwright screenshot comparison API and pixelmatch diffing library. Captures baseline snapshots, detects pixel-level UI changes across viewport sizes, and generates HTML diff reports with threshold-based pass/fail results."
github_stars: 86409
verification: "security_reviewed"
source: "https://github.com/microsoft/playwright"
category: "Browser Automation"
framework: "OpenClaw"
tool_ecosystem:
github_repo: "microsoft/playwright"
github_stars: 86409
npm_package: "playwright"
npm_weekly_downloads: 47883561
---
# Playwright Visual Regression Tester
Automates visual regression testing using the Playwright screenshot comparison API and pixelmatch diffing library. Captures baseline snapshots, detects pixel-level UI changes across viewport sizes, and generates HTML diff reports with threshold-based pass/fail results.
## Installation
Use the upstream install or setup path that matches your environment:
- npm install -g @playwright/cli@latest
- npm i playwright
Requirements and caveats from upstream:
- Playwright is also available for [Python](https://playwright.dev/python/docs/intro), [.NET](https://playwright.dev/dotnet/docs/intro), and [Java](https://playwright.dev/java/docs/intro).
Basic usage or getting-started notes:
- bash
- Optionally install skills for richer agent integration:
- playwright-cli install --skills
- Source: https://github.com/microsoft/playwright
- Extracted from upstream docs: https://raw.githubusercontent.com/microsoft/playwright/HEAD/README.md
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/playwright-visual-regression-tester-3/)
No comments yet. Be the first to comment!
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.