DOM.setAttributeValue

Sets attribute for an element with given id.

{
  "name": "setAttributeValue",
  "parameters": [
    {
      "name": "nodeId",
      "$ref": "NodeId",
      "description": "Id of the element to set attribute for."
    },
    {
      "name": "name",
      "type": "string",
      "description": "Attribute name."
    },
    {
      "name": "value",
      "type": "string",
      "description": "Attribute value."
    }
  ],
  "description": "Sets attribute for an element with given id."
}