testdino-hq/playwright-skill

playwright-pom

Page Object Model patterns for Playwright — when to use POM, how to structure page objects, and when fixtures or helpers are a better fit.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/testdino-hq/playwright-skill --skill playwright-pom

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Playwright Page Object Model

Structure your test code for maintainability — know when POM helps and when simpler patterns win.

2 guides covering Page Object Model implementation and the decision framework for choosing between POM, fixtures, and helpers.

Guide Index

TopicGuide
Page Object Model patternspage-object-model.md
POM vs fixtures vs helperspom-vs-fixtures-vs-helpers.md

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills
testdino-hq
社区

playwright-core

Battle-tested Playwright patterns for writing and debugging reliable E2E, API, component, visual, accessibility, and security tests. Use when you need locator strategy, assertions, fixtures, network mocking, auth flows, trace debugging, or framework recipes for React, Next.js, Vue, and Angular. TypeScript and JavaScript.

1小时安装量
1
GitHub Stars
421
最近更新
11月16日
testdino-hq
社区

playwright-ci

Production-ready CI/CD configurations for Playwright — GitHub Actions, GitLab CI, CircleCI, Azure DevOps, Jenkins, Docker, parallel sharding, reporting, code coverage, and global setup/teardown.

1小时安装量
2
GitHub Stars
397
最近更新
10月12日
testdino-hq
社区

playwright-cli

Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or have explicit authorization to test.

1小时安装量
2
GitHub Stars
397
最近更新
10月12日
testdino-hq
社区

playwright-frontend

For frontend engineers authoring UI — how to make components reliably locatable by tests and AI agents. Covers the official Playwright locator priority, semantic/accessible markup first, and how to add valid, unique, stable data-testid attributes (naming convention, uniqueness in lists, stability rules) for React, Vue, Angular, and Svelte. Use when writing or reviewing components, or when an agent needs durable locators.

1小时安装量
2
GitHub Stars
397
最近更新
10月12日