Skip to main content
Glama

Better Playwright MCP

by livoras

getPageSnapshot

Obtain a semantic, simplified snapshot of a webpage with clean indented structure to reduce HTML token usage by up to 90%, enabling efficient web interactions.

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