Click or drag to resize

DOMClientSetAttributesAsTextAsync Method

Version 130.1.90
Sets attributes on element with given id. This method is useful when user edits some existing attribute value and types in several attribute name/value pairs.

Namespace: CefSharp.DevTools.DOM
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<DevToolsMethodResponse> SetAttributesAsTextAsync(
	int nodeId,
	string text,
	string name = null
)

Parameters

nodeId  Int32
Id of the element to set attributes for.
text  String
Text with a number of attributes. Will parse this text using HTML parser.
name  String  (Optional)
Attribute name to replace with new attributes derived from text in case text parsedsuccessfully.

Return Value

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