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

getFlattenedDocument

suspend fun getFlattenedDocument(input: GetFlattenedDocumentRequest): GetFlattenedDocumentResponse
Deprecated: Deprecated in the Chrome DevTools protocol

Returns the root DOM node (and optionally the subtree) to the caller. Deprecated, as it is not designed to work well with the rest of the DOM agent. Use DOMSnapshot.captureSnapshot instead.

Official doc