webapp-testing - Web App Testing with Playwright
webapp-testing
Web App Testing with Playwright
Verified Popular Anthropic Development
Description
Use Playwright for web application frontend test automation, supporting functionality verification, UI debugging, and screenshot capture
Use Cases
- End-to-end functional testing
- UI regression testing
- Cross-browser compatibility testing
- Visual testing and screenshot comparison
- User flow automation verification
Core Capabilities
- Browser Automation: Simulate user actions
- Screenshot Capture: Save page state
- Log Viewing: Get browser console logs
- Multi-browser Support: Chrome, Firefox, Safari
Example
Please help write Playwright tests for the login flow:1. Navigate to login page2. Enter username and password3. Click login button4. Verify successful redirect to homepage5. Verify username displays correctlyNotes
- Use stable selectors (data-testid)
- Add appropriate wait mechanisms
- Isolate test data
- Clean up test state
Applicable Roles
Developer DevOps/IT Designer