Slash Command
Community

/html

Install
1
Install the plugin
$
npx claudepluginhub serkan-ozal/browser-devtools-claude --plugin browser-devtools-mcp

Want just this command?

Then install: npx claudepluginhub u/[userId]/[slug]

Description

Get HTML content from the current page

Namespace
browser/
Command Content

/html

Get HTML content from the current page.

Usage

/html [selector]

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

/html
/html body
/html #main-content
/html .product-list
/html [data-testid="header"]

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
Stats
Stars3
Forks1
Last CommitFeb 26, 2026

Other plugins with /html