Skip to content
GitHub

webapp-testing - Web App Testing with Playwright

webapp-testing

Web App Testing with Playwright

Verified Popular Anthropic Development
GitHub

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 page
2. Enter username and password
3. Click login button
4. Verify successful redirect to homepage
5. Verify username displays correctly

Notes

  • Use stable selectors (data-testid)
  • Add appropriate wait mechanisms
  • Isolate test data
  • Clean up test state

Applicable Roles

Developer DevOps/IT Designer

Tags

testingplaywrightautomatione2e