DOM.getAttributes

Returns attributes for the specified node.

{
  "name": "getAttributes",
  "parameters": [
    {
      "name": "nodeId",
      "$ref": "NodeId",
      "description": "Id of the node to retrieve attibutes for."
    }
  ],
  "returns": [
    {
      "name": "attributes",
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "An interleaved array of node attribute names and values."
    }
  ],
  "description": "Returns attributes for the specified node."
}