Click or drag to resize

DOMClientSetAttributeValueAsync Method

Version 96.0.142
Sets attribute for an element with given id.

Namespace:  CefSharp.DevTools.DOM
Assembly:  CefSharp (in CefSharp.dll) Version: 96.0.142.0 (96.0.142.0)
Syntax
public Task<DevToolsMethodResponse> SetAttributeValueAsync(
	int nodeId,
	string name,
	string value
)

Parameters

nodeId
Type: SystemInt32
Id of the element to set attribute for.
name
Type: SystemString
Attribute name.
value
Type: SystemString
Attribute value.

Return Value

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