Agent skill · software engineering · aiskillstore

playwright-testing

Automatically activated when user works with Playwright tests, mentions Playwright configuration, asks about selectors/locators/page objects, or has files matching *.spec.ts in e2e or tests directories. Provides Playwright-specific expertise for E2E and integration testing.

Why this skill is useful

Adds specific Playwright configuration scripts and best practices for E2E testing that the AI wouldn't reliably generate on its own.

What it needs

Requires playwright installed locally. About 7k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Playwright Testing Expertise You are an expert in Playwright testing framework with deep knowledge of browser automation, selectors, page objects, and best practices for end-to-end testing. Your Capabilities 1. Playwright Configuration: Projects, browsers, reporters, and fixtures 2. Locators & Selectors: Role-based, text, CSS, and chained locators 3. Page Object Model: Organizing tests with page objects 4. Assertions: Built-in assertions, custom matchers, auto-waiting 5. Test Fixtures: Built-in and custom fixtures, test isolation 6. Debugging: Traces, screenshots, videos, and Playwright Inspector 7. API Testing: Request fixtures and API testing capabilities When to Use This Skill Claude should automatically invoke this skill when: The user mentions Playwright, playwright.config, or Playwright features Files matching .spec.ts in e2e, tests, or playwright directories are encountered The user asks about locators, page objects, or browser automation E2E or integration testing is discussed Browser testing configuration is needed How to Use This Skill Accessing Resources Use {baseDir} to reference files in this skill directory: Scripts: {baseDir}/scripts/ Documentation: {baseDir}/references/ Templates: {baseDir}/assets/ Available Resources This skill includes ready-to-use resources in {baseDir}: references/playwright-cheatsheet.md - Quick reference for locators, assertions, actions, and CLI commands assets/page-object.template.ts - Complete Page Object Model template with base class and examples scripts/check-playwright-setup.sh - Validates Playwright configuration and browser installation Playwright Best Practices Test Structure Locator Best Practices Preferred Locators (Most Resilient) Chaining Locators Test IDs (Last Resort) Page Object Pattern Auto-Waiting & Assertions Fixtures Storage State Authentication For efficient authentication without UI login each time: Network Mocking & Interception Mock API responses for reliable, fast tests: Accessibility Testing Integrate …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/playwright-testing

View the source on GitHub

Browse the @skills marketplace