Skip to main content

Playwright Best Practices

Skill Verified Active

Use when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking APIs, handling authentication or OAuth, testing accessibility (axe-core), file uploads/downloads, date/time mocking, WebSockets, geolocation, permissions, multi-tab/popup flows, mobile/responsive layouts, touch gestures, GraphQL, error handling, offline mode, multi-user collaboration, third-party services (payments, email verification), console error monitoring, global setup/teardown, test annotations (skip, fixme, slow), test tags (@smoke, @fast, @critical, filtering with --grep), project dependencies, security testing (XSS, CSRF, auth), performance budgets (Web Vitals, Lighthouse), iframes, component testing, canvas/WebGL, service workers/PWA, test coverage, i18n/localization, Electron apps, or browser extension testing. Covers E2E, component, API, visual, accessibility, security, Electron, and extension testing.

Purpose

To guide users in writing robust, maintainable, and efficient Playwright tests by providing structured, context-aware documentation and best practices for various testing scenarios and development stages.

Features

  • Comprehensive Playwright testing guidance
  • Activity-based reference material
  • Organized documentation by domain
  • Detailed best practices for debugging and maintenance
  • Infrastructure and CI/CD setup guidance

Use Cases

  • Writing new Playwright tests (E2E, component, API, etc.)
  • Debugging flaky tests or test failures
  • Implementing advanced testing patterns (mocking, auth, web sockets)
  • Configuring CI/CD pipelines and optimizing test performance
  • Refactoring existing test code and improving test structure

Non-Goals

  • Executing Playwright tests directly
  • Providing a runtime environment for Playwright
  • Replacing the official Playwright documentation
  • Handling general software development tasks outside of Playwright testing

Installation

npx skills add currents-dev/playwright-best-practices-skill

Runs the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.

Quality Score

Verified
100 /100
Analyzed 1 day ago

Trust Signals

Last commit2 months ago
Stars264
LicenseMIT
Status
View Source

Similar Extensions

Use My Browser

100

Use when work depends on the user's live browser session or visible rendered state rather than static fetches, especially for browser debugging contexts or DevTools-selected elements or requests, logged-in dashboards or CMS flows, localhost apps, forms, uploads, downloads, media inspection, DOM or iframe inspection, Shadow DOM, or browser failures that look like soft 404s, auth walls, anti-bot checks, or rate limits.

Skill
xixu-me

Telegram Crabbox E2e Proof

100

Use when reviewing, reproducing, or proving OpenClaw Telegram behavior with a real Telegram user on Crabbox, including PR review workflows that need an agent-controlled Telegram Desktop recording, TDLib user-driver commands, Convex-leased credentials, WebVNC observation, and motion-trimmed artifacts.

Skill
steipete

Openclaw Testing

100

Choose, run, rerun, or debug OpenClaw tests, CI checks, Docker E2E lanes, release validation, and the cheapest safe verification path.

Skill
steipete

ClawSweeper Skill

100

Use for all ClawSweeper work: OpenClaw issue/PR sweep reports, commit-review reports, repair jobs, cloud fix PRs, @clawsweeper maintainer mention commands, trusted ClawSweeper-reviewed autofix/automerge, GitHub Actions monitoring, permissions, gates, and manual backfills.

Skill
steipete

Agent Browser

100

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

Skill
shanraisshan

Plugin Test Runner

100

Runs automated tests to validate plugin integrity across 14 categories. Use before creating PRs, after making changes to skills or templates, or to verify plugin health.

Skill
bitwize-music-studio

© 2025 SkillRepo · Find the right skill, skip the noise.