playwright-core

Generate Playwright test plans with resilient locators and assertions.

1|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/swongsuddee/windflu-test --skill playwright-core-swongsuddee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-core
Source: https://github.com/swongsuddee/windflu-test/tree/main/.agents/toolkit/playwright-skill/core
Command: npx skills add https://github.com/swongsuddee/windflu-test --skill playwright-core-swongsuddee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Playwright test suites often become flaky and hard to debug when teams rely on brittle selectors, arbitrary waits, shared mutable state, and unclear debugging practices.

Core Features & Use Cases

  • Resilient E2E/API test patterns: Uses practical guidance for locator strategy, web-first assertions, and deterministic synchronization.
  • Auth and session handling discipline: Covers safe approaches for authentication flows, storage-state reuse, and isolating role-based behavior.
  • Debugging and quality guardrails: Encourages trace-based debugging, stable assertions, and security-oriented handling of untrusted UI/network content.
  • Use Case: When onboarding a team to Playwright, use this skill to standardize how tests wait, assert, mock external services, and diagnose failures so CI results stay trustworthy.

Quick Start

Use the skill to generate a complete Playwright test plan for an authenticated dashboard flow, ensuring locator choices and assertions are web-first, timeouts are intentional, and traces are enabled for fast debugging.

Frequently Asked Questions about playwright-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix flaky Playwright tests caused by arbitrary waits and brittle selectors?

Prevent flaky API tests in Playwright by enforcing resilient synchronization practices and deterministic assertions. This approach ensures network requests and responses settle correctly before assertions execute, maintaining reliable API testing workflows.

What is the best way to handle authentication flows in Playwright E2E testing?

Handle Playwright authentication flows by utilizing storage-state reuse and isolating role-based behavior. This discipline ensures safe session management across tests without duplicating login steps, keeping E2E test execution fast and isolated.

How do I debug Playwright test failures using trace-based debugging?

Ensure Playwright test reliability for team onboarding by standardizing how tests wait, assert, and mock external services. Applying intentional timeouts and isolated test design keeps CI results trustworthy and prevents cascading test failures.

Does this Playwright testing approach work for component, visual, and accessibility testing?

This Playwright testing approach applies to component, visual, and accessibility testing workflows alongside E2E and API tests. It enforces security trust-boundary discipline and network mocking to handle untrusted UI and network content safely.