chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.domsnapshot / GetSnapshotResponse

GetSnapshotResponse

data class GetSnapshotResponse
Deprecated: Deprecated in the Chrome DevTools protocol

Response type for the DOMSnapshotDomain.getSnapshot command.

Constructors

<init>

Response type for the DOMSnapshotDomain.getSnapshot command.

GetSnapshotResponse(domNodes: List<DOMNode>, layoutTreeNodes: List<LayoutTreeNode>, computedStyles: List<ComputedStyle>)

Properties

computedStyles

Whitelisted ComputedStyle properties for each node in the layout tree.

val computedStyles: List<ComputedStyle>

domNodes

The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document.

val domNodes: List<DOMNode>

layoutTreeNodes

The nodes in the layout tree.

val layoutTreeNodes: List<LayoutTreeNode>