Skip to main content
Glama
AkhatorKing1

Playwright MCP Server

by AkhatorKing1

execute-code

Execute custom Playwright JavaScript code to automate browser interactions, extract data, and test web pages programmatically.

Instructions

Execute custom Playwright JS code against the current page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe Playwright code to execute. Must be an async function declaration that takes a page parameter. Example: async function run(page) { console.log(await page.title()); return await page.title(); } Returns an object with: - result: The return value from your function - logs: Array of console logs from execution - errors: Array of any errors encountered Example response: {"result": "Google", "logs": ["[log] Google"], "errors": []}

Latest Blog Posts

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/AkhatorKing1/accessibility-playwright-mcp'

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