MCP-Server-Playwright

browser_evaluate

Execute JavaScript code directly in the browser console using MCP-Server-Playwright, enabling dynamic interactions with web pages for testing or automation.

Instructions

Execute JavaScript in the browser console

Input Schema

NameRequiredDescriptionDefault
scriptYesJavaScript code to execute

Input Schema (JSON Schema)

{ "properties": { "script": { "description": "JavaScript code to execute", "type": "string" } }, "required": [ "script" ], "type": "object" }

You must be authenticated.

Other Tools from MCP-Server-Playwright

Related Tools

ID: 9q4zck8po5