DOMClientSetAttributesAsTextAsync Method |
Version 87.1.132
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: 87.1.132.0 (87.1.132.0)
Syntax public Task<DevToolsMethodResponse> SetAttributesAsTextAsync(
int nodeId,
string text,
string name = null
)
public:
Task<DevToolsMethodResponse^>^ SetAttributesAsTextAsync(
int nodeId,
String^ text,
String^ name = nullptr
)
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:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also