Playwright
Microsoft's browser automation server. Drives Chromium, Firefox or WebKit through the accessibility tree.
- Checks
- 9 of 9 passed
- License
- Apache License 2.0
- Last commit
- 3 days ago
- GitHub stars
- 41k
- Reviewed at
1c32920· Dec 4, 2026
Install
npm · @playwright/mcp@latest
claude mcp add playwright -- npx -y @playwright/mcp@latest{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp@latest"
]
}
}
}Tools
25 tools listed by Playwright 1.66.0-alpha-2026-11-18 in our sandbox on Dec 4, 2026.
browser_closeDestructiveReaches outsideClose the browser and all open tabs.
browser_resizeDestructiveReaches outsideResize the browser window
browser_console_messagesRead-onlyReaches outsideReturns all console messages
browser_handle_dialogDestructiveReaches outsideHandle a dialog
browser_emulate_mediaDestructiveReaches outsideEmulate CSS media features for the page, for example switch between the light and dark color scheme.
browser_evaluateDestructiveReaches outsideEvaluate JavaScript expression on page or element
browser_file_uploadDestructiveReaches outsideUpload one or multiple files
browser_dropDestructiveReaches outsideDrop files or MIME-typed data onto an element, as if dragged from outside the page.
browser_findRead-onlyReaches outsideSearch the accessibility snapshot of the current page for text or a regular expression.
browser_fill_formDestructiveReaches outsideFill multiple form fields
browser_press_keyDestructiveReaches outsidePress a key on the keyboard
browser_typeDestructiveReaches outsideType text into editable element
browser_navigateDestructiveReaches outsideNavigate to a URL
browser_navigate_backDestructiveReaches outsideGo back to the previous page in the history
browser_network_requestsRead-onlyReaches outsideReturns a numbered list of network requests since loading the page.
browser_network_requestRead-onlyReaches outsideReturns full details (headers and body) of a single network request, or a single part if `part` is set.
browser_run_code_unsafeDestructiveReaches outsideRun a Playwright code snippet.
browser_take_screenshotRead-onlyReaches outsideTake a screenshot of the current page.
browser_snapshotRead-onlyReaches outsideCapture accessibility snapshot of the current page, this is better than screenshot
browser_clickDestructiveReaches outsidePerform click on a web page
browser_dragDestructiveReaches outsidePerform drag and drop between two elements
browser_hoverDestructiveReaches outsideHover over element on page
browser_select_optionDestructiveReaches outsideSelect an option in a dropdown
browser_tabsDestructiveReaches outsideList, create, close, or select a browser tab.
browser_wait_forRead-onlyReaches outsideWait for text to appear or disappear or a specified time to pass.
Related MCP servers
More browser automationChrome DevTools
OfficialThe Chrome DevTools team's server: performance traces, network, console and page control for coding agents.
Apify
OfficialRun Apify Actors to scrape social media, search engines, maps and e-commerce sites.
Firecrawl
OfficialSearch, scrape and crawl the web into clean markdown through Firecrawl.
Exa
OfficialWeb search and crawling built for agents, from Exa.