Click or drag to resize

PageCaptureSnapshotAsync Method

Version 85.3.121
Returns a snapshot of the page as a string. For MHTML format, the serialization includes iframes, shadow DOM, external resources, and element-inline styles.

Namespace:  CefSharp.DevTools.Page
Assembly:  CefSharp (in CefSharp.dll) Version: 85.3.121.0 (85.3.121.0)
Syntax
public Task<CaptureSnapshotResponse> CaptureSnapshotAsync(
	string format = null
)

Parameters

format (Optional)
Type: SystemString
Format (defaults to mhtml).

Return Value

Type: TaskCaptureSnapshotResponse
returns System.Threading.Tasks.Task<CaptureSnapshotResponse>
See Also