{"enrichment":{"faq":[{"a":"playwright-skill teaches you to write reliable end-to-end tests by following proven testing patterns and maintainability strategies. Key best practices include using page object models to organize your test code, leveraging Playwright's built-in locators for stable element selection, implementing proper waits and timeouts, and structuring tests with clear arrange-act-assert patterns. The skill emphasizes creating maintainable test suites that catch real-world issues while minimizing flakiness through proper synchronization and error handling.","q":"What are the best practices for writing Playwright tests?"},{"a":"playwright-skill covers the complete setup process for integrating Playwright into your CI/CD workflows, including GitHub Actions configuration. You'll learn how to configure Playwright for different environments (development, staging, production), manage environment-specific variables, run tests in parallel across multiple browsers, and optimize test execution for CI runners. The skill provides practical guidance on containerization, artifact management, and strategies for reliable test execution in automated pipelines.","q":"How do you set up Playwright in CI/CD pipelines and configure for different environments?"},{"a":"playwright-skill provides direct comparison and migration strategies for developers transitioning from Selenium. You'll understand the key architectural differences between Selenium and Playwright, learn how to translate Selenium locators and commands to Playwright equivalents, and discover Playwright's advantages like better synchronization, faster execution, and improved debugging capabilities. The skill includes practical examples showing side-by-side code comparisons to accelerate your migration journey.","q":"What does playwright-skill teach about migrating from Selenium to Playwright with guidance and examples?"},{"a":"playwright-skill equips you with comprehensive debugging techniques to identify and fix unreliable tests. You'll learn to use Playwright's built-in debugging tools, trace viewer, and inspector to diagnose test failures, implement proper wait strategies to eliminate race conditions, and recognize common error patterns. The skill covers root causes of flakiness such as timing issues, element visibility problems, and network synchronization, providing actionable solutions to make your test suites more robust.","q":"How can you debug flaky tests and troubleshoot common Playwright errors?"},{"a":"playwright-skill teaches you to handle advanced testing scenarios including accessibility testing to ensure compliance with WCAG standards, visual regression testing to catch unintended UI changes, API mocking to simulate backend responses, and authentication flows for secure testing. These specialized techniques allow you to build comprehensive test coverage that goes beyond basic user interactions, ensuring your applications meet accessibility requirements and behave correctly under various conditions.","q":"What specialized testing scenarios does playwright-skill cover?"},{"a":"playwright-skill explains Playwright's powerful locator system, which provides more resilient element selection than traditional CSS or XPath selectors alone. You'll learn to use Playwright's recommended locators like role-based selectors, test IDs, and text matching, which are less brittle when UI changes occur. The skill demonstrates how to combine multiple locator strategies, implement custom locators when needed, and follow best practices that make your tests maintainable and resistant to false failures caused by minor DOM changes.","q":"How do Playwright locators and selectors work for reliable element selection?"}],"shadow_tags":["end-to-end-testing","test-automation","web-testing-framework","ui-validation","qa-engineering","cross-browser-testing","test-patterns","ci-cd-integration","test-debugging","quality-assurance"],"summary_rewrite":"This skill teaches you how to build robust end-to-end tests using Playwright's powerful browser automation capabilities. You'll explore testing patterns, debugging techniques, and strategies for creating maintainable test suites that catch real-world issues. Perfect for developers looking to strengthen their QA automation toolkit."},"files":[{"bytes":12090,"path":"skills/playwright/SKILL.md","sha256":"5617140a3cb1ba82021ebbf4075e99687e172b8dc5aa72d1acca2f6f898e60d0","url":"https://skillfed.io/files/zebbern/claude-code-guide/playwright/0fa47bb4/SKILL.md"}],"id":"zebbern/claude-code-guide/playwright","links":{"html":"https://skillfed.io/zebbern/claude-code-guide/playwright","md":"https://skillfed.io/zebbern/claude-code-guide/playwright.md","repo":"https://github.com/zebbern/claude-code-guide"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":447,"language":"Python","last_updated":"2026-07-26","license":"MIT","name":"playwright-skill","publisher":"zebbern","stars":4440},"relations":{"similar":[{"id":"testdino-hq/playwright-skill/playwright-skill"},{"id":"zebbern/claude-code-guide/core"},{"id":"testdino-hq/playwright-skill/core"},{"id":"currents-dev/playwright-best-practices-skill/playwright-best-practices"},{"id":"testdino-hq/playwright-skill/ci"},{"id":"zebbern/claude-code-guide/ci"},{"id":"testdino-hq/playwright-skill/pom"},{"id":"zebbern/claude-code-guide/pom"},{"id":"fugazi/test-automation-skills-agents/playwright-e2e-testing"},{"id":"Jeffallan/claude-skills/playwright-expert"}]},"slug":{"owner":"zebbern","repo":"claude-code-guide","skill":"playwright"},"version":"0fa47bb4"}
