codegenplaywright

Record and generate end-to-end test scripts with Playwright Codegen, supporting multi-browser selectors. Produce TypeScript test files compatible with the Playwright Test runner, handle visual regression via the playwright-visual-regression plugin, and integrate with Allure reporting.

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 "codegenplaywright" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-dc878e09ec42cdf4f3e29c2b196e3f49cb71171bc9e6d17180bbfdeab2f8dae0. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/playwright-test-generator-codegen 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

Record and generate end-to-end test scripts with Playwright Codegen, supporting multi-browser selectors. Produce TypeScript test files compatible with the Playwright Test runner, handle visual regression via the playwright-visual-regression plugin, and integrate with Allure reporting.

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: "使用 Codegen 的 Playwright 测试生成器"
slug: "playwright-test-generator-codegen"
version: "1.0.0"
displayName: "使用 Codegen 的 Playwright 测试生成器"
summary: "使用 Playwright Codegen 记录并生成端到端测试脚本,支持多浏览器定位。生成与 Playwright Test 运行器兼容的 TypeScript 测试文件,通过 playwright-visual-regression 插件处理视觉回归,并与 Allure 报告集成。"
license: "MIT"
description: "使用 Playwright Codegen 记录并生成端到端测试脚本,支持多浏览器定位。生成与 Playwright Test 运行器兼容的 TypeScript 测试文件,通过 playwright-visual-regression 插件处理视觉回归,并与 Allure 报告集成。"
github_stars: 86409
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Research & Scraping"
framework: "Cursor"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 86409
  npm_package: "playwright"
  npm_weekly_downloads: 47883561

使用 Codegen 的 Playwright 测试生成器

Records and generates end-to-end test scripts using Playwright Codegen with multi-browser targeting. Produces TypeScript test files compatible with Playwright Test runner, handles visual regression via playwright-visual-regression plugin, and integrates with Allure reporting.

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 Value75/100

Highlights

  • 提供 Playwright Codegen 测试脚本生成能力,面向自动化测试场景,实用价值明确
  • 支持多浏览器定位、视觉回归和 Allure 报告集成,功能覆盖面较广
Trigger Precision90/100

Highlights

  • description 明确描述了核心功能,触发词完整,边界清晰
Structure and Standards65/100

Areas to improve

  • 缺少详细步骤划分和端到端示例 Reported severity: Minor

    文档仅包含 Installation 和 Basic usage 章节,缺少详细的 Phase/步骤划分、端到端示例和明确的出口条件

    Recommendation: 建议补充详细的执行步骤、端到端示例和明确的出口条件,提升用户理解和执行效率

Highlights

  • frontmatter 完整,包含必要的元数据信息
Execution Reliability70/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未覆盖主要异常情况(如网络错误、依赖冲突等),且无可逆操作确认机制

    Recommendation: 建议补充异常处理说明和关键操作的确认机制,提升执行可靠性

Highlights

  • 提供了正确的 npm 安装命令和 Playwright 多语言支持说明,工具来源明确
Evidence Verifiability (mean of the first four)75/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.