Page.getResourceContent

Returns content of the given resource.

{
  "name": "getResourceContent",
  "description": "Returns content of the given resource.",
  "parameters": [
    {
      "name": "frameId",
      "$ref": "FrameId",
      "description": "Frame id to get resource for."
    },
    {
      "name": "url",
      "type": "string",
      "description": "URL of the resource to get content for."
    }
  ],
  "returns": [
    {
      "name": "content",
      "type": "string",
      "description": "Resource content."
    },
    {
      "name": "base64Encoded",
      "type": "boolean",
      "description": "True, if content was served as base64."
    }
  ],
  "experimental": true
}