Playwright Best Practices

0•

Implements reliable, industry-standard Playwright automation patterns for web scraping and end-to-end testing.

This skill provides Claude with specialized knowledge to write, review, and optimize Playwright automation scripts based on official best practices. It emphasizes the use of auto-waiting locators, user-facing attributes, and robust navigation patterns while actively avoiding common anti-patterns like flaky explicit waits and deprecated APIs. Whether you are building complex scrapers or comprehensive test suites, this skill ensures your browser automation code is stable, maintainable, and efficient.

주요 기능

01Strategies for handling race conditions and unstable test environments
02Actionability check verification for consistent element interaction
03Guidance on auto-waiting locators and accessibility-first selectors
04Standardized patterns for form interaction and multi-page navigation
050 GitHub stars
06Identification and replacement of deprecated APIs like waitForNavigation

사용 사례

01Refactoring legacy Playwright scripts to eliminate flakiness and use modern APIs
02Building resilient end-to-end (E2E) testing suites for modern web applications
03Developing robust web scrapers that handle dynamic content and navigation reliably