Skip to main content
Glama
livoras

Better Playwright MCP

by livoras

getElementHTML

Retrieve the outerHTML structure of a web element using its XPath reference for efficient selector debugging in the Better Playwright MCP server.

Instructions

通过xp引用获取元素的outerHTML结构,用于调试选择器

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageIdYes页面ID
refYes元素的xp引用值

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/livoras/better-playwright-mcp'

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