mcp-playwright icon indicating copy to clipboard operation
mcp-playwright copied to clipboard

How to install on claude desktop properly?

Open Uysim opened this issue 8 months ago • 3 comments

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                                                      ║
╚═════════════════════════════════════════════════════════════════════════╝

Uysim avatar Apr 01 '25 13:04 Uysim

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

executeautomation avatar Apr 02 '25 02:04 executeautomation

@Uysim Check this guide: https://medium.com/@libint20/7404945abf7f

libintoms avatar Apr 03 '25 09:04 libintoms

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

genesiscz avatar Nov 14 '25 20:11 genesiscz