chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.dom / DOMDomain / getDocument

getDocument

suspend fun getDocument(input: GetDocumentRequest): GetDocumentResponse

Returns the root DOM node (and optionally the subtree) to the caller.

Official doc