I say this with all the kindness in the world. Why the fuck would you burn Claude code tokens running playwright tests? Why would you not just write the tests and then have the tests run with CI/CD pipelines? Answer from Deleted User on reddit.com
Simon Willison
til.simonwillison.net › claude-code › playwright-mcp-claude-code
Using Playwright MCP with Claude Code | Simon Willison’s TILs
Inspired by Armin, I decided to ... run claude Playwright will be available. You can say things like: Use playwright mcp to open a browser to example.com...
Testomat
testomat.io › home › playwright mcp claude code
Playwright MCP Claude Code
October 27, 2025 - Claude, via MCP integration, executes these instructions without manual scripting. ... You can find the screenshot in the temporary storage directory /tmp. You may copy it to a permanent location if you need to keep it long-term. Determine an assertion strategy to create Playwright tests. Here is an example of the prompt:
Address Ul. Koszykarska 27b-26, Kraków
Videos
13:04
Claude Code Now Has Eyes | Playwright MCP Integration - YouTube
06:37
Claude Code + Playwright MCP = Perfect UI Every Time - YouTube
03:00
Install Playwright MCP in Claude Desktop – AI-Powered Web ...
29:59
Turn Claude Code into Your Own INCREDIBLE UI Designer (using ...
16:14
Playwright MCP for Claude Code: Don't Miss This Game-Changer - YouTube
Medium
medium.com › @kapilkumar080 › understanding-the-claude-playwright-mcp-server-setup-426a574cc232
Understanding the Claude + Playwright MCP Server setup | by Kapil kumar | Oct, 2025 | Medium
October 31, 2025 - Use Claude for natural-language automation (via MCP). Open the generated test files in VS Code for debugging/editing. ... | Step | What to do | Purpose | | ---- | --------------------------------------------------------- | --------------------------------------------- | | 1 | Install Node.js & Playwright | For browser automation | | 2 | `npm install -g @executeautomation/playwright-mcp-server` | Run the Playwright MCP server | | 3 | Install Claude Desktop | To talk to the MCP | | 4 | Add `mcp.json` config linking to Playwright MCP | Enable Claude ↔️ Playwright connection | | 5 | Restart Claude & test with commands | Automate browser tasks using natural language | | 6 | (Optional) Use VS Code for test editing | For debugging or code review |
GitHub
github.com › executeautomation › mcp-playwright
GitHub - executeautomation/mcp-playwright: Playwright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE and More 🔌
Logs are written to ~/playwright-mcp-server.log. When running headed browser on systems without display or from worker processes of IDEs, you can run the MCP server as a standalone HTTP server: Note for Claude Desktop Users: Claude Desktop currently requires stdio mode (command/args configuration). HTTP mode is recommended for VS Code...
Starred by 5.1K users
Forked by 460 users
Languages TypeScript 93.6% | JavaScript 6.0%
Reddit
reddit.com › r/claudeai › claude code + playwright mcp - how did you speed up the browser interactions
r/ClaudeAI on Reddit: Claude code + playwright mcp - how did you speed up the browser interactions
May 17, 2025 -
I have successfully integrated this playwright mcp -Microsoft one ( adding tools ) to Claude code . We can now add a prompt and pass it in Claude code headless cli .. however the browser navigation is quite slow .. for example it takes more than 4 seconds for Claude code to login using username and password..
How did you speed up the process ..? I am using WSL2
Thanks in advance
Top answer 1 of 4
10
I say this with all the kindness in the world. Why the fuck would you burn Claude code tokens running playwright tests? Why would you not just write the tests and then have the tests run with CI/CD pipelines?
2 of 4
2
how did you install the microsoft playwright mcp to claude code?
Simon Willison
simonwillison.net › 2025 › Jul › 1 › using-playwright-mcp-with-claude-code
TIL: Using Playwright MCP with Claude Code
July 1, 2025 - ... The claude mcp add command only affects the current directory by default - it gets persisted in the ~/.claude.json file. Now Claude can use Playwright to automate a Chrome browser! Tell it to "Use playwright mcp to open a browser to example.com" and watch it go - it can navigate pages, ...
Wmedia
wmedia.es › home › writing › automated code review with claude code, playwright, and notion (mcp)
Automated Code Review with Claude Code, Playwright, and Notion (MCP) - Juan Andrés Núñez — Building at the intersection of Frontend, AI, and Humanism
October 4, 2025 - In essence, it is about grouping instructions in a file (Markdown, ./claude/commands/review-component.md) to be able to send them repeatedly to the model through a command (/review-component). It accepts arguments through $ARGUMENTS and you can even use Bash-style placeholders with $1, $2, $N. The documentation is quite good. ... I want you to review my component from a markup, logic and UI level. The component is located here: $1 You can see it live if you use the Playwright MCP server to open: $2 And you can compare with the desired result using this reference image: $3 Do the following: 1.
GitHub
github.com › microsoft › playwright-mcp
GitHub - microsoft/playwright-mcp: Playwright MCP server
Go to Advanced settings -> Extensions -> Add custom extension. Name to your liking, use type STDIO, and set the command to npx @playwright/mcp. Click "Add Extension". ... Follow the MCP Servers documentation. For example in .kiro/settings/mcp.json:
Starred by 24.7K users
Forked by 2K users
Languages TypeScript 54.4% | CSS 37.0% | JavaScript 6.0% | Dockerfile 1.6% | HTML 1.0%
Reddit
reddit.com › r/claudeai › anyone get microsoft playwright mcp to work with claude code?
r/ClaudeAI on Reddit: Anyone get Microsoft Playwright MCP to Work with Claude Code?
June 9, 2025 -
No matter what I try, Claude code cannot access the Microsoft Playwright MCP. I'm searching for troubleshooting tips, but can't find anything. Is there anyone using it?
[EDIT] Solved, "claude mcp add playwright -- npx "@playwright/mcp@latest" worked.
Top answer 1 of 4
2
I use (in wsl) `claude mcp add playwright npx u/playwright/mcp @latest` only things that is tricky is that you cannot let claude install the browser or the deps since it needs sudo to elevate the commands, so just install them manually and follow the prompts in a terminal. then you can check using /mcp and see its installed and test it using a command like, `use playwright to navigate to google.com`
2 of 4
1
Working on my end
Medium
medium.com › everyday-ai › claude-code-playwright-mcp-put-eye-on-your-website-a0f5851f8106
Claude Code + Playwright MCP = Put Eye on your website | by Manpreet Singh | Everyday AI | Medium
August 21, 2025 - With these glasses, Claude Code can look at the website it’s making and figure out what’s wrong and fix it all by itself. ... We’ll talk about why this is a big deal and how Playwright MCP helps, and how you can set it up. ... “Everyday AI” is a platform that explains AI in plain and everyday language. Lets breaks down complex AI ideas into clear and easy-to-understand examples...
JavaScript in Plain English
javascript.plainenglish.io › experience-story-figma-mcp-claude-code-playwright-68b20bb0f8ce
Experience Story: Figma MCP + Claude Code + Playwright MCP | by Orhan Asım Arslan | JavaScript in Plain English
October 15, 2025 - Playwright tells you what your implementation actually is. Together, they create a feedback loop that’s both precise and scalable. ... Figma MCP ↓ (Queries 4 breakpoints) Raw specs: Desktop: flex-direction: column; gap: 28px; width: 351px; Tablet: flex-direction: row; gap: 8.512px; width: 100%; ↓ Claude Code ↓ (Synthesizes & applies responsive strategy) Responsive code: flex flex-col gap-[28px] w-full max-w-[351px] tablet:flex-row tablet:gap-[8.512px] tablet:max-w-none ↓ Implementation ↓ Playwright ↓ (Measures actual computed values) Validation: Desktop → flexDirection: "column", gap: "28px" ✅ Tablet → flexDirection: "row", gap: "8.512px" ✅ ↓ ✅ Match or ❌ Fix & re-validate
Playwright MCP Server
executeautomation.github.io › playwright mcp server
Playwright MCP Server | Playwright MCP Server
npx @smithery/cli install @executeautomation/playwright-mcp-server --client claude · You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
Alexop
alexop.dev › posts › building_ai_qa_engineer_claude_code_playwright
Building an AI QA Engineer with Claude Code and Playwright MCP | alexop.dev
2 weeks ago - --allowedTools " mcp__playwright__browser_navigate, mcp__playwright__browser_click, mcp__playwright__browser_type, mcp__playwright__browser_take_screenshot, mcp__playwright__browser_resize, Write " This keeps things realistic. A real QA engineer tests through the UI, not by reading code. Quinn does the same. ... Limiting Claude to browser-only tools prevents it from “cheating” by reading your source code.