Playwright Patterns Reference
CommunityMaster Playwright for robust web testing.
AuthorMacPhobos
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a comprehensive guide to effectively use Playwright for web automation and testing, addressing common challenges in element selection, waiting, interaction, and assertion.
Core Features & Use Cases
- Selector Strategies: Learn robust ways to target elements using text, roles, CSS, XPath, and data attributes.
- Wait Strategies: Implement reliable waits for dynamic content using load states, element conditions, and custom functions.
- Element Interactions: Master various ways to click, fill forms, select options, upload files, and more.
- Assertions: Write precise assertions for element visibility, text content, state, attributes, and counts.
- Test Organization: Structure tests effectively using Pytest fixtures, describe blocks, and setup/teardown patterns.
- Advanced Features: Understand network interception, screenshots, video recording, debugging, and parallel execution.
- Use Case: A QA engineer needs to build a reliable end-to-end test suite for a complex web application. This Skill provides the patterns and best practices to ensure tests are stable, maintainable, and efficient.
Quick Start
Use the Playwright Patterns Reference to learn how to select elements by their role attribute.
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: Playwright Patterns Reference Download link: https://github.com/MacPhobos/research-mind/archive/main.zip#playwright-patterns-reference 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.