Available Tools
Navigation
"Open https://github.com/trending"
"Go back to the previous page"
"Wait for the login form to appear"Interaction
"Click the Sign In button"
"Fill the email field with test@example.com"
"Select 'Monthly' from the billing dropdown"
"Press Enter to submit the form"Content Extraction
"Extract all product names and prices from this page"
"Get the text content of the main article"
"List all links on this page"Screenshots & Visual
"Take a screenshot of the current page"
"Take a screenshot of just the navigation bar"
"Compare this page with the expected design"Testing
"Verify the login flow works: go to /login, enter credentials, check dashboard loads"
"Test that the search returns results for 'AI tools'"
"Check all navigation links return 200 status"Use Cases
E2E Test Generation
"Write Playwright tests for the checkout flow on our staging site"
→ Agent navigates the flow, records interactions, generates test codeWeb Scraping
"Scrape the top 10 Hacker News stories with their scores and links"
→ Agent navigates HN, extracts structured dataForm Automation
"Fill out the registration form on staging with test data and submit"
→ Agent fills fields, handles validation, submitsKey Stats
- 3,000+ GitHub stars
- Full Playwright browser control
- Chromium, Firefox, WebKit support
- Screenshots and visual testing
- Natural language interaction
FAQ
Q: What is Playwright MCP? A: Playwright MCP is an MCP server that gives AI agents full browser control through Playwright, enabling web navigation, form filling, testing, and scraping via natural language commands.
Q: Is Playwright MCP free? A: Yes, open-source. Playwright itself is free and maintained by Microsoft.
Q: Does it run a visible browser? A: By default it runs headless (invisible). Set headless mode to false for debugging.