DOM.collectClassNamesFromSubtree

Collects class names for the node with given id and all of it's child nodes.

{
  "name": "collectClassNamesFromSubtree",
  "parameters": [
    {
      "name": "nodeId",
      "$ref": "NodeId",
      "description": "Id of the node to collect class names."
    }
  ],
  "returns": [
    {
      "name": "classNames",
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Class name list."
    }
  ],
  "description": "Collects class names for the node with given id and all of it's child nodes.",
  "experimental": true
}