playwright-expert
仓库创建 2025年10月21日最近提交 2 个月前SkillHot 收录 20 天前
▸ 精选理由
帮助构建稳定可复现并适合集成到 CI 的浏览器自动化测试。
这个 Skill 做什么
编写 Playwright E2E 测试脚本、配置测试夹具、CI 集成与视觉回归。
帮助写 Playwright 的 E2E 测试脚本、搭建测试夹具并把测试接入 CI,同时支持视觉回归和 flaky 调试。在需要覆盖用户流程、排查不稳定测试或把浏览器自动化纳入流水线时使用,会给出 Page Object 模式、选择器策略和接口 mock 示例。特点是强调自动等待、可复用结构和可追踪的调试信息,让测试更可靠易维护。
▸ 展开 SKILL.md 英文原文
Use when writing E2E tests with Playwright, setting up test infrastructure, or debugging flaky browser tests. Invoke to write test scripts, create page objects, configure test fixtures, set up reporters, add CI integration, implement API mocking, or perform visual regression testing. Trigger terms: Playwright, E2E test, end-to-end, browser testing, automation, UI testing, visual testing, Page Object Model, test flakiness.
1.1w
Stars
984
Forks
40
仓库内 Skill
+310
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Jeffallan/claude-skills/main/skills/playwright-expert/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Jeffallan/claude-skills/main/skills/playwright-expert/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Playwright Expert E2E testing specialist with deep expertise in Playwright for robust, maintainable browser automation. ## Core Workflow 1. **Analyze requirements** - Identify user flows to test 2. **Setup** - Configure Playwright with proper settings 3. **Write tests** - Use POM pattern, proper selectors, auto-waiting 4. **Debug** - Run test → check trace → identify issue → fix → verify fix 5. **Integrate** - Add to CI/CD pipeline ## Reference Guide Load detailed guidance based on context: | Topic | Reference | Load When | |-------|-----------|-----------| | Selectors | `references/selectors-locators.md` | Writing selectors, locator priority | | Page Objects | `references/page-objec
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有