Skip to main content
Glama

Playwright Server

by williamvd4

playwright_get_html_content

Extract HTML content from a webpage using a CSS selector. This tool, part of the Playwright Server, simplifies retrieving specific HTML elements for automation or analysis.

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" }

Other Tools from Playwright Server

Related Tools

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