PageClientCaptureSnapshotAsync Method |
Version 130.1.90
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.PageAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<CaptureSnapshotResponse> CaptureSnapshotAsync(
CaptureSnapshotFormat? format = null
)
public:
Task<CaptureSnapshotResponse^>^ CaptureSnapshotAsync(
Nullable<CaptureSnapshotFormat> format = nullptr
)
Parameters
- format NullableCaptureSnapshotFormat (Optional)
- Format (defaults to mhtml).
Return Value
TaskCaptureSnapshotResponsereturns System.Threading.Tasks.Task<CaptureSnapshotResponse>
See Also