po-binding-playwright
CommunityMap frontend test IDs to Playwright PageObjects.
Author10knamesmore
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables teams to construct Playwright PageObject bindings by reading front-end test ID mappings and aligning them with existing PO patterns, reducing drift between UI elements and test automation.
Core Features & Use Cases
- TestID-driven bindings: Bind each UI element to a single, stable data-testid via a PageObject.
- Top-down mapping: Build containers from page root to panels, dialogs, and tables following a hierarchical approach.
- Standards enforcement: Prefer data-testid first, avoid XPath, and annotate missing testids with TODOs.
- PO templating: Produce PO classes that wrap elements with Locator-based access using getByTestId.
Quick Start
Provide the root component directory, review the testid mapping document, generate PO bindings, and integrate them into your Playwright test suite.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: po-binding-playwright Download link: https://github.com/10knamesmore/dotfiles/archive/main.zip#po-binding-playwright Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.