documentElement Property
The documentElement property is a reference to the root node of the document. It is read-only, and has no default value. The root node of a typical HTML document is the html object.
This example uses the documentElement property to retrieve the innerHTML property of the entire document.
The example is written in VBScript. To write similar code in Python, use the print method instead of msgbox and adjust the syntax as necessary.
msgbox Browser("Browser").Page("Page").Object.documentElement.innerHTML

