From browser-devtools-mcp
Retrieves HTML content from the current page or a specific element via optional CSS selector. Outputs formatted HTML string for inspection and debugging.
npx claudepluginhub serkan-ozal/browser-devtools-claude --plugin browser-devtools-mcpbrowser/# /html Get HTML content from the current page. ## Usage ## Description Retrieves the HTML content of the current page or a specific element. Useful for inspecting page structure and debugging DOM issues. ## Arguments - `selector` (optional): CSS selector to get HTML of specific element ## Examples ## Output Returns the HTML content as a formatted string. For full page, returns the complete document HTML. ## MCP Tools Used - `content_get-as-html` - Get HTML content
/htmlRetrieves HTML content from the current page or a specific element via optional CSS selector. Outputs formatted HTML string for inspection and debugging.
/annotateAdds visual annotations (boxes, highlights, callouts) to a page element using CSS selector or description and saves an annotated screenshot.
Share bugs, ideas, or general feedback.
Get HTML content from the current page.
/html [selector]
Retrieves the HTML content of the current page or a specific element. Useful for inspecting page structure and debugging DOM issues.
selector (optional): CSS selector to get HTML of specific element/html
/html body
/html #main-content
/html .product-list
/html [data-testid="header"]
Returns the HTML content as a formatted string. For full page, returns the complete document HTML.
content_get-as-html - Get HTML content