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
Name | Required | Description | Default |
---|---|---|---|
selector | Yes | CSS selector for the element |
Input Schema (JSON Schema)
{
"properties": {
"selector": {
"description": "CSS selector for the element",
"type": "string"
}
},
"required": [
"selector"
],
"type": "object"
}