Chrome Remote Interface v0.2.0 ChromeRemoteInterface.RPC.DOMSnapshot View Source

This domain facilitates obtaining document snapshots with DOM, layout, and style information.

Link to this section Summary

Functions

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

Link to this section Functions

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.

Parameters: computedStyleWhitelist - - Whitelist of computed styles to return.

Link to this function getSnapshot(page_pid, parameters) View Source
Link to this function getSnapshot(page_pid, parameters, opts) View Source