playwright_get_html_content
Extract the HTML content of a specific webpage element using a CSS selector through browser automation on the Playwright Server MCP.
Instructions
获取页面中指定元素的HTML内容
Input Schema
Name | Required | Description | Default |
---|---|---|---|
selector | Yes | CSS选择器,用于定位需要获取HTML内容的页面元素 |
Input Schema (JSON Schema)
{
"properties": {
"selector": {
"description": "CSS选择器,用于定位需要获取HTML内容的页面元素",
"type": "string"
}
},
"required": [
"selector"
],
"type": "object"
}