playwright-core

Provides Playwright patterns for reliable testing across frameworks.

1|Updated Jul 5, 2025
One-click install
npx skills add https://github.com/kevinchatham/tressi --skill playwright-core-kevinchatham
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-core
Source: https://github.com/kevinchatham/tressi/tree/main/.agents/skills/playwright-skill/core
Command: npx skills add https://github.com/kevinchatham/tressi --skill playwright-core-kevinchatham

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent Playwright practices across teams can lead to flaky tests, slow onboarding, and brittle maintenance.

Core Features & Use Cases

  • Battle-tested patterns for locators, assertions, fixtures, and network mocking to accelerate reliable E2E, API, component, visual, and accessibility testing.
  • Framework recipes and practical examples for React, Next.js, Vue, and Angular in TypeScript and JavaScript.
  • A curated collection of guides that help teams standardize best practices and reduce maintenance overhead.

Quick Start

Run your Playwright tests using these patterns to quickly establish reliable, reusable tests across modern web apps.

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 E2E tests caused by inconsistent locators and assertions?

Fix flaky Playwright E2E tests by applying battle-tested patterns for locators, assertions, and test fixtures. Standardizing these practices ensures reliable execution across React, Next.js, Vue, and Angular applications.

What's the best way to structure Playwright test fixtures for React and Next.js applications?

Structure Playwright test fixtures using standardized recipes and practical examples tailored for React and Next.js. These patterns accelerate onboarding and reduce maintenance overhead in TypeScript and JavaScript environments.

Can I use Playwright for API, visual, and accessibility testing alongside component tests?

Playwright supports API, visual, accessibility, and component testing. Applying consistent network mocking and locator patterns across these test types ensures reliable validation for modern web apps.

Why does network mocking in Playwright tests sometimes fail across different frameworks?

Network mocking in Playwright fails when teams use inconsistent patterns. Standardizing mocking practices alongside locators and fixtures resolves brittle tests and ensures reliable execution across Vue and Angular.

Does this Playwright testing approach work with both TypeScript and JavaScript projects?

This Playwright testing approach works with both TypeScript and JavaScript projects. It provides framework-specific recipes and practical examples to establish reusable tests across modern web apps.

When do I need to standardize Playwright patterns for end-to-end testing?

Standardize Playwright patterns for end-to-end testing when flaky tests, slow onboarding, or brittle maintenance appear. Applying consistent locators, assertions, and network mocking reduces these issues across teams.