Click or drag to resize

DOMClient.SetAttributesAsTextAsync Method

Version 93.1.111
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: 93.1.111.0 (93.1.111.0)
Syntax
public Task<DevToolsMethodResponse> SetAttributesAsTextAsync(
	int nodeId,
	string text,
	string name = null
)

Parameters

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

Return Value

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