fun captureSnapshot(input: CaptureSnapshotRequest): Single<CaptureSnapshotResponse>
(source)
Returns a snapshot of the page as a string. For MHTML format, the serialization includes iframes, shadow DOM, external resources, and element-inline styles.
Link
Protocol Page#captureSnapshot method documentation.