Skip to main content
Glama

Playwright Server MCP

by ziux

playwright_get_html_content

Extract the HTML content of a specific webpage element using a CSS selector. This tool integrates with browser automation to retrieve precise element data for analysis or processing.

Instructions

获取页面中指定元素的HTML内容

Input Schema

NameRequiredDescriptionDefault
selectorYesCSS选择器,用于定位需要获取HTML内容的页面元素

Input Schema (JSON Schema)

{ "properties": { "selector": { "description": "CSS选择器,用于定位需要获取HTML内容的页面元素", "type": "string" } }, "required": [ "selector" ], "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/ziux/playwright-plus-python-mcp'

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