Playwright MCP Server

playwright_evaluate

Execute JavaScript code in a browser console to interact with web pages, automate tasks, or extract data using a real browser environment.

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" }
ID: iiafoz7ogl