Skip to main content

Playwright MCP Server

handbook-qa

Browser automation for testing, scraping, and web interactions.

Control web browsers programmatically to automate testing, extract data, and interact with websites.

Configuration​

{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
}
}
}

Use Cases​

  • Automated testing: Generate and run browser tests
  • Web scraping: Extract data from websites
  • Screenshots: Capture page visuals for documentation
  • Form automation: Fill and submit web forms

Example​

"Create a test that logs into our app and checks the dashboard"
"Scrape product prices from competitor.com"
"Take a screenshot of example.com"