Skip to main content
Glama

Better Playwright MCP

by livoras

getPageSnapshot

Extract structured, semantic snapshots of web pages to simplify HTML content and reduce token usage, enabling efficient browser automation and interactions with Better Playwright MCP.

Instructions

获取页面的语义化简化快照,返回清晰的缩进结构

Input Schema

NameRequiredDescriptionDefault
pageIdYes页面ID

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "pageId": { "description": "页面ID", "type": "string" } }, "required": [ "pageId" ], "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/livoras/better-playwright-mcp'

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