CSS.collectClassNames

Returns all class names from specified stylesheet.

{
  "name": "collectClassNames",
  "parameters": [
    {
      "name": "styleSheetId",
      "$ref": "StyleSheetId"
    }
  ],
  "returns": [
    {
      "name": "classNames",
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Class name list."
    }
  ],
  "description": "Returns all class names from specified stylesheet.",
  "experimental": true
}