跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/davila7/claude-code-templates/playwright-e2e-builder

Playwright E2E Builder Skill for Claude Code

Plan a Playwright browser suite around the app routes, repeatable fixtures, and visible assertions for the flows users rely on.

中文

Install in Claude Code

Use your own local app, a Node.js project, @playwright/test, and an installed test browser. Prepare a dedicated fixture product and test account if required.

  1. Get the complete `cli-tool/components/skills/development/playwright-e2e-builder` directory from the pinned GitHub commit.
  2. Copy it into the target project's `.claude/skills/`. Check `.claude/skills/playwright-e2e-builder/SKILL.md`, start Claude Code at the project root, and call `/playwright-e2e-builder`.

Example task

Seed Demo Mug in your local catalog. From /products, click Add to cart, open /cart, and assert that Demo Mug and quantity 1 are visible. Run npx playwright test cart.spec.ts.

What to check

The cart flow passes from a clean starting state. A failure identifies the locator or visible assertion that failed.

Original SKILL.md on GitHub · Updated 2026-11-13

Frequently asked question

Do I need a Page Object Model for one cart test?

Start with a clear test and extract a page object when multiple tests repeat the same locators and actions.

Browse Claude Code skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯