Skip to main content
Glama

Playwright Server

by williamvd4

playwright_get_html_content

Extract HTML content from a specified web element using a CSS selector. Ideal for retrieving targeted webpage data for analysis or automation tasks with Playwright Server's browser tools.

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/williamvd4/playwright-plus-python-mcp'

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