ck", "type": "function", "description": "A function that receives the response body when the request completes.", "parameters": [ { "name": "content", "type": "string", "description": "Content of the response body (potentially encoded)." }, { "name": "encoding", "type": "string", "description": "Empty if content is not encoded, encoding name otherwise. Currently, only base64 is supported." } ] } ] } ] } ], "functions": [ { "name": "getHAR", "type": "function", "description": "Returns HAR log that contains all known network requests.", "async": "callback", "parameters": [ { "name": "callback", "type": "function", "description": "A function that receives the HAR log when the request completes.", "parameters": [ { "name": "harLog", "type": "object", "additionalProperties": { "type": "any" }, "description": "A HAR log. See HAR specification for details." } ] } ] } ], "events": [ { "name": "onRequestFinished", "type": "function", "description": "Fired when a network request is finished and all request data are available.", "parameters": [ { "name": "request", "$ref": "Request", "description": "Description of a network request in the form of a HAR entry. See HAR specification for details." } ] }, { "name": "onNavigated", "type": "function", "description": "Fired when the inspected window navigates to a new page.", "parameters": [ { "name": "url", "type": "string", "description": "URL of the new page." } ] } ] } ] PK