Click or drag to resize

PageClient.SetDocumentContentAsync Method

Version 105.3.390
Sets given markup as the document's HTML.

Namespace:  CefSharp.DevTools.Page
Assembly:  CefSharp (in CefSharp.dll) Version: 105.3.390.0 (105.3.390.0)
Syntax
public Task<DevToolsMethodResponse> SetDocumentContentAsync(
	string frameId,
	string html
)

Parameters

frameId
Type: System.String
Frame id to set HTML for.
html
Type: System.String
HTML content to set.

Return Value

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