class DOMSnapshotOperations
(source)
This domain facilitates obtaining document snapshots with DOM, layout, and style information.
This API is marked as experimental in protocol definition and can change in the future.
Link
Protocol DOMSnapshot domain documentation.
fun captureSnapshot(input: CaptureSnapshotRequest): Single<CaptureSnapshotResponse>
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. |
|
fun disable(): Single<ResponseFrame>
Disables DOM snapshot agent for the given page. |
|
fun enable(): Single<ResponseFrame>
Enables DOM snapshot agent for the given page. |
|
fun events(): Flowable<Event>
Returns flowable capturing all DOMSnapshot domains events. |
|
fun
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. |