{"enrichment":{"faq":[{"a":"playwright-expert teaches you to structure end-to-end browser tests using Playwright with best practices by organizing your test files logically, using descriptive test names, and applying consistent assertion patterns. The skill emphasizes writing maintainable tests that validate real user workflows rather than implementation details, helping you create production-grade automation that remains reliable as your application evolves.","q":"How do I write Playwright tests that follow best practices?"},{"a":"playwright-expert covers the Page Object Model as a core pattern for setting up Playwright test infrastructure. This approach encapsulates page interactions and selectors within reusable classes, making your tests more readable and maintainable. The skill guides you through creating page objects for common scenarios like login flows, organizing fixtures alongside your page objects, and structuring your test suite so that UI changes require updates in only one place.","q":"What is the Page Object Model pattern in Playwright, and how do I implement it?"},{"a":"playwright-expert helps you debug and fix flaky or failing Playwright tests by teaching you to leverage the trace viewer for detailed inspection of test execution. The skill covers proper wait strategies to eliminate race conditions, understanding when to use waitForLoadState versus explicit waits, and interpreting trace logs to identify timing issues. You'll learn how to stabilize tests that fail intermittently by addressing root causes rather than adding arbitrary delays.","q":"How do I debug and fix flaky Playwright tests using trace viewer?"},{"a":"playwright-expert guides you through setting up Playwright test infrastructure including CI/CD integration, helping you configure automated test execution in your deployment pipeline. The skill covers parallel test execution strategies, managing test reporters for clear feedback, configuring browser contexts for different environments, and organizing fixtures to support scalable test runs. You'll learn how to integrate Playwright into popular CI systems while maintaining test reliability and performance.","q":"How do I set up Playwright CI integration for my test infrastructure?"},{"a":"playwright-expert teaches you to implement advanced Playwright features including API mocking to isolate frontend tests from backend dependencies, and visual regression testing to catch unintended UI changes. The skill shows you how to intercept network requests, mock API responses for consistent test data, and set up screenshot comparisons across test runs. These techniques help you create comprehensive test coverage that validates both functionality and visual consistency.","q":"What advanced Playwright features like API mocking and visual regression testing should I know?"},{"a":"playwright-expert covers Playwright selector strategies and locator best practices for building resilient tests that survive UI refactoring. The skill emphasizes using role-based selectors and semantic HTML attributes over brittle CSS classes or XPath expressions, teaching you to prioritize accessibility-friendly locators that reflect how users actually interact with your application. By following these locator best practices, your tests remain stable even when developers update styling or restructure the DOM.","q":"What are Playwright selector best practices and role-based locators?"}],"shadow_tags":["test-automation","browser-testing","qa-engineering","flaky-test-resolution","selector-strategy","ci-cd-integration","visual-comparison","test-infrastructure","debugging-tools","maintainability-patterns"],"summary_rewrite":"playwright-expert helps you craft production-grade browser automation tests using Playwright's modern API. It guides you through test structure, assertion patterns, and real-world scenarios to ensure your web applications work reliably across environments. Whether you're testing complex user flows or validating UI interactions, this skill accelerates your test development with proven strategies."},"files":[{"bytes":5582,"path":"skills/playwright-expert/SKILL.md","sha256":"d6c5c04e570659a902e7c212067116131743e588af16406672fab58f0f62d8e1","url":"https://skillfed.io/files/Jeffallan/claude-skills/playwright-expert/9bf861f7/SKILL.md"}],"id":"Jeffallan/claude-skills/playwright-expert","links":{"html":"https://skillfed.io/Jeffallan/claude-skills/playwright-expert","md":"https://skillfed.io/Jeffallan/claude-skills/playwright-expert.md","repo":"https://github.com/Jeffallan/claude-skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":984,"language":"Python","last_updated":"2026-05-20","license":"MIT","name":"playwright-expert","publisher":"Jeffallan","stars":10759},"relations":{"similar":[{"id":"HermeticOrmus/LibreUIUX-Claude-Code/e2e-testing-patterns"},{"id":"alinaqi/maggy/playwright-testing"},{"id":"secondsky/claude-skills/playwright"},{"id":"patricio0312rev/skills/cypress-playwright-setup"},{"id":"echoVic/boss-skill/e2e-playwright"},{"id":"curiositech/some_claude_skills/playwright-e2e-tester"},{"id":"activepieces/activepieces/playwright-e2e-testing"},{"id":"bobmatnyc/claude-mpm-skills/playwright"},{"id":"Gentleman-Programming/Gentleman-Skills/playwright"},{"id":"prowler-cloud/prowler/playwright"}]},"slug":{"owner":"Jeffallan","repo":"claude-skills","skill":"playwright-expert"},"version":"9bf861f7"}
