Fetch HTML
Commands
Fetch HTML
Fetch the current page’s HTML
POST
Fetch HTML
Documentation Index
Fetch the complete documentation index at: https://docs.rustybrowser.com/llms.txt
Use this file to discover all available pages before exploring further.
Description
Returns the HTML source of the current page or a specific element.Authentication
Self-hosted open source deployments do not require authentication.
Path Parameters
The browser ID returned from Create Session.
Request Body
CSS selector to scope the HTML to a specific element. If omitted, returns the full page HTML.
Response
The HTML content of the page or matched element.

