setAttributesAsText
suspend fun setAttributesAsText(args: DOM.SetAttributesAsTextParameter, mode: CommandMode = CommandMode.DEFAULT)
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.
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.
Parameters
nodeId
Id of the element to set attributes for.
text
Text with a number of attributes. Will parse this text using HTML parser.
name
Attribute name to replace with new attributes derived from text in case text parsed successfully.