Skip to main content
Glama

Better Playwright MCP

by livoras

captureSnapshot

Capture a full-page snapshot of a webpage, including scrolling, waiting, and automatic trimming, to reduce HTML token usage and enable efficient web interactions.

Instructions

捕获网页的完整快照,支持滚动、等待和自动修剪功能

Input Schema

NameRequiredDescriptionDefault
pageDescriptionNo页面描述(默认'Auto snapshot page')
pageNameNo页面名称(默认'snapshot')
scrollDelayNo滚动间隔时间(毫秒,默认5000)
scrollsNo滚动次数(默认1)
trimNo是否修剪重复内容(默认true)
urlYes要捕获的网页URL
waitNo初始等待时间(毫秒,默认5000)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "pageDescription": { "description": "页面描述(默认'Auto snapshot page')", "type": "string" }, "pageName": { "description": "页面名称(默认'snapshot')", "type": "string" }, "scrollDelay": { "description": "滚动间隔时间(毫秒,默认5000)", "type": "number" }, "scrolls": { "description": "滚动次数(默认1)", "type": "number" }, "trim": { "description": "是否修剪重复内容(默认true)", "type": "boolean" }, "url": { "description": "要捕获的网页URL", "type": "string" }, "wait": { "description": "初始等待时间(毫秒,默认5000)", "type": "number" } }, "required": [ "url" ], "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