Skip to main content
Glama

Playwright Server MCP

playwright_get_html_content

Retrieve the HTML content of a specific web element using a CSS selector for web automation tasks on the Playwright Server MCP.

Instructions

Get the HTML content of the page

Input Schema

NameRequiredDescriptionDefault
selectorYesCSS selector for the element

Input Schema (JSON Schema)

{ "properties": { "selector": { "description": "CSS selector for the element", "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/blackwhite084/playwright-plus-python-mcp'

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