Skip to main content
The get_full_html method retrieves the complete HTML content of the current browser page without internal annotations, making it suitable for HTML analysis, content extraction, and page archiving.
The HTML returned by this method has all internal annotations stripped, ensuring you get clean, production-ready HTML.

Method Signature

Parameters

timeout
int | None
default:"None"
Maximum time in seconds to wait for the HTML retrieval to complete. If None, uses the default system timeout.

Return Value

Returns a GetFullHtmlResponse object with the following structure:
html
str
required
The complete HTML content of the current page as a string, with all internal annotations removed.

Example