Module cdp::dom_snapshot
[−]
[src]
[Experimental] This domain facilitates obtaining document snapshots with DOM, layout, and style information.
DOMSnapshot
Commands
DOMSnapshot.getSnapshotExperimentalReturns 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
DOMNodeExperimentalA Node in the DOM tree.
LayoutTreeNodeExperimentalDetails of an element in the DOM tree with a LayoutObject.
ComputedStyleExperimentalA subset of the full ComputedStyle as defined by the request whitelist.
NameValueExperimentalA 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. |