From browser-devtools-mcp
Use when the user wants to run JavaScript in the browser, run code in Node, or batch multiple MCP tool calls. Run script, execute code, batch tools.
How this skill is triggered — by the user, by Claude, or both
Slash command
/browser-devtools-mcp:execute-workflowsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when the user asks to run JavaScript, execute code in the page or on the server, or batch several tool calls into one.
Use this skill when the user asks to run JavaScript, execute code in the page or on the server, or batch several tool calls into one.
There are no separate run-JS tools. Always use the MCP tool execute.
Use execute with page.evaluate():
// execute tool, code:
return await page.evaluate(() => document.title);
You have access to page (Playwright Page) and callTool(name, input, returnOutput?) inside the execute VM. Use await with callTool.
Use execute without page.evaluate() — e.g. Buffer, crypto, or multiple callTool calls:
return Buffer.from('hello').toString('base64');
Use execute and call tools via await callTool(name, input, returnOutput?):
await callTool('interaction_fill', { selector: 'e3', value: '[email protected]' });
await callTool('interaction_click', { selector: 'e7', waitForNavigation: true });
const snapshot = await callTool('a11y_take-aria-snapshot', {}, true);
return snapshot;
Max 50 callTool calls per execution. Pass true as third argument to include that tool’s output in the response toolOutputs.
On Node platform, execute has no page; use callTool only. See commands/node/execute.md.
page, callTool, VM APIcallTool onlynpx claudepluginhub serkan-ozal/browser-devtools-claude --plugin browser-devtools-mcpGuides enabling and manually interacting with the Playwright MCP server for browser automation via JSON-RPC over stdio.
Provides browser automation via Playwright MCP for Claude Code. Use for web interactions, screenshots, local UI testing, and accessing content that blocks non-browser HTTP clients.
Runs Playwright MCP server for Claude Code browser automation via accessibility tree tools. Enables navigation, clicks, forms, screenshots, content extraction for blocked sites or local UI testing.