mcp-playwright
mcp-playwright copied to clipboard
How to install on claude desktop properly?
I see the video on youtube which interaction is looking good. But after I config it with claude desktop. While navigate, I got the error message.
Can not find any doc that mention how to config playwright with claude
Error executing code: MCP error -32603: browserType.launch: Executable doesn't exist at /Users/uysim/Library/Caches/ms-playwright/firefox-1475/firefox/Nightly.app/Contents/MacOS/firefox
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ npx playwright install ║
║ ║
║ <3 Playwright Team ║
╚═════════════════════════════════════════════════════════════════════════╝
Looks like the tool is unable to download the playwright package.
Do you have node installed in your machine before performing this operation ?
Thanks, Karthik KK
@Uysim Check this guide: https://medium.com/@libint20/7404945abf7f
still happens. I had to run
~/.bun/install/global/node_modules/@executeautomation/playwright-mcp-server/node_modules/.bin/playwright install chromium
because "npx playwright install" is using playwright-core new version which installs different version of chromium