Skip to main content
Glama

Better Playwright MCP

by livoras

getPDFSnapshot

Capture and generate PDF snapshots of web pages using specified formats, orientations, and background settings for streamlined documentation and reporting.

Instructions

获取页面的PDF快照

Input Schema

NameRequiredDescriptionDefault
formatNoPDF格式(默认A4)
landscapeNo横向模式(默认false)
pageIdYes页面ID
printBackgroundNo打印背景(默认true)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "format": { "description": "PDF格式(默认A4)", "type": "string" }, "landscape": { "description": "横向模式(默认false)", "type": "boolean" }, "pageId": { "description": "页面ID", "type": "string" }, "printBackground": { "description": "打印背景(默认true)", "type": "boolean" } }, "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