Purpose: Browser automation and E2E testing with real browser interaction
- Browser testing and E2E test scenarios
- Visual testing, screenshot, or UI validation requests
- Form submission and user interaction testing
- Cross-browser compatibility validation
- Performance testing requiring real browser rendering
- Accessibility testing with automated WCAG compliance
playwright_browser_navigate: Navigate to URLs and control browser navigationplaywright_browser_click: Perform click interactions on web page elementsplaywright_browser_type: Type text into input fields and form elementsplaywright_browser_snapshot: Capture accessibility snapshots for element analysisplaywright_browser_take_screenshot: Take screenshots for visual testing and validation
playwright_browser_fill_form: Fill multiple form fields simultaneouslyplaywright_browser_select_option: Select dropdown options and form controlsplaywright_browser_wait_for: Wait for elements or text to appear/disappearplaywright_browser_console_messages: Monitor console output and errorsplaywright_browser_network_requests: Track and analyze network activity
- Real browser engine access for authentic user interaction simulation
- Cross-browser compatibility support (Chrome, Firefox, Safari, Edge)
- Headless and headed browser modes for different testing scenarios
- Direct DOM access for element interaction and validation
- Integration with web applications and services via HTTP/HTTPS protocols
- For real browser interaction: When you need actual rendering, not just code
- Over unit tests: For integration testing, user journeys, visual validation
- For E2E scenarios: Login flows, form submissions, multipage workflows
- For visual testing: Screenshot comparisons, responsive design validation
- Not for code analysis: Static code review, syntax checking, logic validation
- Sequential: Sequential plans test strategy → Playwright executes browser automation
- Shadcn: Shadcn provides UI components → Playwright validates accessibility and behavior
- Tavily: Tavily discovers URLs → Playwright extracts complex content from pages
"test the login flow" → Playwright (browser automation with real user interaction)
"check if form validation works" → Playwright (real browser form testing)
"take screenshots of responsive design" → Playwright (visual testing across viewports)
"validate accessibility compliance" → Playwright (automated WCAG testing)
"review this function's logic" → Native Claude (static analysis, no browser needed)
"explain the authentication code" → Native Claude (code review, no browser needed)