Page.searchInResources

Searches for given string in frame / resource tree structure.

{
  "name": "searchInResources",
  "description": "Searches for given string in frame / resource tree structure.",
  "parameters": [
    {
      "name": "text",
      "type": "string",
      "description": "String to search for."
    },
    {
      "name": "caseSensitive",
      "type": "boolean",
      "optional": true,
      "description": "If true, search is case sensitive."
    },
    {
      "name": "isRegex",
      "type": "boolean",
      "optional": true,
      "description": "If true, treats string parameter as regex."
    }
  ],
  "returns": [
    {
      "name": "result",
      "type": "array",
      "items": {
        "$ref": "SearchResult"
      },
      "description": "List of search results."
    }
  ]
}