GetSnapshotResponse

@Serializable
data class GetSnapshotResponse(val domNodes: List<DOMNode>, val layoutTreeNodes: List<LayoutTreeNode>, val computedStyles: List<ComputedStyle>)(source)

Deprecated

Deprecated in the Chrome DevTools protocol

Response type for the DOMSnapshotDomain.getSnapshot command.

Constructors

Link copied to clipboard
constructor(domNodes: List<DOMNode>, layoutTreeNodes: List<LayoutTreeNode>, computedStyles: List<ComputedStyle>)

Properties

Link copied to clipboard

Whitelisted ComputedStyle properties for each node in the layout tree.

Link copied to clipboard

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

Link copied to clipboard

The nodes in the layout tree.