Click or drag to resize

PageClientSetDocumentContentAsync Method

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

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

Parameters

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

Return Value

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