Click or drag to resize

DOMClientSetAttributesAsTextAsync Method

Version 96.0.142
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 (in CefSharp.dll) Version: 96.0.142.0 (96.0.142.0)
Syntax
public Task<DevToolsMethodResponse> SetAttributesAsTextAsync(
	int nodeId,
	string text,
	string name = null
)

Parameters

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

Return Value

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