Skip to main content
Glama

mcp-playwright

playwright_evaluate

Execute JavaScript directly in the browser console to interact with web pages, manipulate content, or extract data using the MCP server for browser automation with Playwright.

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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/executeautomation/mcp-playwright'

If you have feedback or need assistance with the MCP directory API, please join our Discord server