Content
1{
2 "mcpServers": {
3 "playwright": {
4 "command": "npx",
5 "args": ["-y", "@anthropic/playwright-mcp"]
6 }
7 }
8}
9
10// ── Available tools ──────────────────────────────────────────────────────────
11// browser_navigate go to a URL
12// browser_screenshot capture current page state
13// browser_click click by element description or selector
14// browser_type type text into an element
15// browser_select_option choose a dropdown value
16// browser_hover hover over an element
17// browser_drag drag and drop
18// browser_scroll scroll the page
19// browser_wait_for wait for element / network idle
20// browser_close close the browser
21//
22// ── Playwright vs Puppeteer ───────────────────────────────────────────────────
23// Playwright supports Chrome, Firefox, and Safari.
24// It also supports vision-based element interaction (no CSS selector needed)
25// which is more resilient to UI changes.
26