setAttributeValue

suspend fun setAttributeValue(args: DOM.SetAttributeValueParameter, mode: CommandMode = CommandMode.DEFAULT)

Sets attribute for an element with given id.


suspend fun setAttributeValue(nodeId: Int, name: String, value: String)

Sets attribute for an element with given id.

Parameters

nodeId

Id of the element to set attribute for.

name

Attribute name.

value

Attribute value.