Package 

Class DOMSnapshotDomain

    • Method Summary

      Modifier and Type Method Description
      final Unit disable() Disables DOM snapshot agent for the given page.
      final Unit enable() Enables DOM snapshot agent for the given page.
      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.
      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.
      • Methods inherited from class org.hildan.chrome.devtools.domains.domsnapshot.DOMSnapshotDomain

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.

        Official doc

      • 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.

        Official doc