Module cdp::dom_snapshot
[−]
[src]
[Experimental] This domain facilitates obtaining document snapshots with DOM, layout, and style information.
DOMSnapshot
Commands
DOMSnapshot.getSnapshot
ExperimentalReturns a document snapshot, including the full DOM tree of the root node (including iframes, template contents, and imported documents) in a flattened array, as well as layout and white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is flattened.
Types
DOMNode
ExperimentalA Node in the DOM tree.
LayoutTreeNode
ExperimentalDetails of an element in the DOM tree with a LayoutObject.
ComputedStyle
ExperimentalA subset of the full ComputedStyle as defined by the request whitelist.
NameValue
ExperimentalA name/value pair.
Structs
ComputedStyle |
[Experimental] A subset of the full ComputedStyle as defined by the request whitelist. |
DomNode |
[Experimental] A Node in the DOM tree. |
GetSnapshotCommand |
[Experimental] Returns a document snapshot, including the full DOM tree of the root node (including iframes, template contents, and imported documents) in a flattened array, as well as layout and white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is flattened. |
GetSnapshotResponse |
[Experimental] Returns a document snapshot, including the full DOM tree of the root node (including iframes, template contents, and imported documents) in a flattened array, as well as layout and white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is flattened. |
LayoutTreeNode |
[Experimental] Details of an element in the DOM tree with a LayoutObject. |
NameValue |
[Experimental] A name/value pair. |