Run browser automation, end-to-end tests, and web scraping tasks using Playwright directly from Claude Code — take screenshots, fill forms, and interact with any website.
The Playwright MCP embeds a full Chromium browser inside Claude Code's tool ecosystem. Claude can navigate URLs, click elements, fill forms, take screenshots, extract DOM content, and run JavaScript — making it a powerful agent for UI testing, visual regression checks, and web data extraction.
mcpizy install playwright
Playwright's browser binaries are downloaded automatically on first use. No additional configuration is needed for basic usage; headless mode is on by default.
Test your login flow after a refactor:
// Claude will:
// 1. Navigate to http://localhost:3000/login
// 2. Fill in test credentials
// 3. Click the submit button
// 4. Assert the dashboard URL is loaded
// 5. Take a screenshot as evidence
browser_resize before taking screenshots to match your target device.browser_close after automation tasks to avoid memory leaks.