-
public final class DOMSnapshotDomainThis domain facilitates obtaining document snapshots with DOM, layout, and style information.
-
-
Method Summary
Modifier and Type Method Description final Unitdisable()Disables DOM snapshot agent for the given page. final Unitenable()Enables DOM snapshot agent for the given page. final GetSnapshotResponsegetSnapshot(GetSnapshotRequest input)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. final CaptureSnapshotResponsecaptureSnapshot(CaptureSnapshotRequest input)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. -
-
Method Detail
-
getSnapshot
@Deprecated(message = "Deprecated in the Chrome DevTools protocol") final GetSnapshotResponse getSnapshot(GetSnapshotRequest input)
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.
-
captureSnapshot
final CaptureSnapshotResponse captureSnapshot(CaptureSnapshotRequest input)
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.
-
-
-
-