playwright-visual-regression-tester-3

Automates visual regression testing using Playwright's screenshot comparison API and the pixelmatch diffing library: captures baseline snapshots, detects pixel-level UI changes across viewports, and generates threshold-based pass/fail HTML diff reports.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "playwright-visual-regression-tester-3" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4878feea49eb9bfa1b8e2a2bab0d9c03a5f87153afe0e274f2fd41f7f3dafe53. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/playwright-visual-regression-tester-3 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Automates visual regression testing using Playwright's screenshot comparison API and the pixelmatch diffing library: captures baseline snapshots, detects pixel-level UI changes across viewports, and generates threshold-based pass/fail HTML diff reports.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Playwright 可视化回归测试器"
slug: "playwright-visual-regression-tester-3"
version: "1.0.0"
displayName: "Playwright 可视化回归测试器"
summary: "使用 Playwright 截图比较 API 和 pixelmatch diffing 库自动化视觉回归测试。捕获基准快照,检测不同视口尺寸下的像素级 UI 变更,并生成基于阈值通过/失败结果的 HTML 差异报告。"
license: "MIT"
description: "使用 Playwright 截图比较 API 和 pixelmatch diffing 库自动化视觉回归测试。捕获基准快照,检测不同视口尺寸下的像素级 UI 变更,并生成基于阈值通过/失败结果的 HTML 差异报告。"
github_stars: 86409
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Browser Automation"
framework: "OpenClaw"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 86409
  npm_package: "playwright"
  npm_weekly_downloads: 47883561

Playwright 可视化回归测试器

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:

Basic usage or getting-started notes:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 提供 Playwright 可视化回归测试自动化能力,解决前端开发中 UI 变更检测的实际痛点
  • 支持多视口尺寸检测和基于阈值的通过/失败判断,功能完整
Trigger Precision92/100

Highlights

  • description 明确描述了使用 Playwright 和 pixelmatch 进行视觉回归测试的核心功能
  • 触发词完整,边界清晰,用户能准确理解 Skill 用途
Structure and Standards65/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Minor

    文档仅包含 Installation 说明,缺少具体的使用场景说明和端到端示例

    Recommendation: 建议补充 When to Use 章节说明适用场景,并添加具体的测试流程示例

Execution Reliability75/100

Areas to improve

  • 缺少异常处理说明 Reported severity: Minor

    未提及测试失败、网络异常等场景的处理机制和不可逆操作的确认机制

    Recommendation: 建议补充异常处理说明和关键操作前的用户确认机制

Highlights

  • 工具来源明确(Playwright),参数正确,基础执行流程可靠
Evidence Verifiability (mean of the first four)78/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 28, 29
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • playwright.dev
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.