playwright-skill - Playwright Automation
playwright-skill
Playwright Automation
Community Development
Description
Playwright browser automation skill for end-to-end testing and web application interaction
Use Cases
- End-to-end automation testing
- Web crawling and data scraping
- Automated form filling
- Page screenshots and PDF generation
- Performance testing
Core Capabilities
- Multi-browser Support: Chromium, Firefox, WebKit
- Page Interaction: Click, input, wait
- Network Interception: Mock API responses
- Device Emulation: Mobile device viewport simulation
Example
Please write a Playwright script to:1. Open e-commerce website2. Search for specific product3. Add to cart4. Screenshot and save results5. Export product informationNotes
- Use explicit waits instead of fixed delays
- Handle popups and iframes
- Be aware of anti-scraping measures
- Set reasonable timeouts
Applicable Roles
Developer DevOps/IT