{
    "version": { "major": "1", "minor": "2" },
    "domains": [
      {
        "domain": "Page",
        "description": "Actions and events related to the inspected page belong to the page domain.",
        "dependencies": [
            "Debugger",
            "DOM"
        ],
        "types": [
            {
                "id": "ResourceType",
                "type": "string",
                "enum": [
                    "Document",
                    "Stylesheet",
                    "Image",
                    "Media",
                    "Font",
                    "Script",
                    "TextTrack",
                    "XHR",
                    "Fetch",
                    "EventSource",
                    "WebSocket",
                    "Manifest",
                    "Other"
                ],
                "description": "Resource type as it was perceived by the rendering engine."
            },
            {
                "id": "FrameId",
                "type": "string",
                "description": "Unique frame identifier."
            },
            {
                "id": "Frame",
                "type": "object",
                "description": "Information about the Frame on the page.",
                "properties": [
                    {
                        "name": "id",
                        "type": "string",
                        "description": "Frame unique identifier."
                    },
                    {
                        "name": "parentId",
                        "type": "string",
                        "optional": true,
                        "description": "Parent frame identifier."
                    },
                    {
                        "name": "loaderId",
                        "$ref": "Network.LoaderId",
                        "description": "Identifier of the loader associated with this frame."
                    },
                    {
                        "name": "name",
                        "type": "string",
                        "optional": true,
                        "description": "Frame's name as specified in the tag."
                    },
                    {
                        "name": "url",
                        "type": "string",
                        "description": "Frame document's URL."
                    },
                    {
                        "name": "securityOrigin",
                        "type": "string",
                        "description": "Frame document's security origin."
                    },
                    {
                        "name": "mimeType",
                        "type": "string",
                        "description": "Frame document's mimeType as determined by the browser."
                    }
                ]
            }
        ],
        "commands": [
            {
                "name": "enable",
                "description": "Enables page domain notifications.",
                "handlers": [
                    "browser",
                    "renderer"
                ]
            },
            {
                "name": "disable",
                "description": "Disables page domain notifications.",
                "handlers": [
                    "browser",
                    "renderer"
                ]
            },
            {
                "name": "reload",
                "parameters": [
                    {
                        "name": "ignoreCache",
                        "type": "boolean",
                        "optional": true,
                        "description": "If true, browser cache is ignored (as if the user pressed Shift+refresh)."
                    },
                    {
                        "name": "scriptToEvaluateOnLoad",
                        "type": "string",
                        "optional": true,
                        "description": "If set, the script will be injected into all frames of the inspected page after reload."
                    }
                ],
                "description": "Reloads given page optionally ignoring the cache.",
                "handlers": [
                    "browser",
                    "renderer"
                ]
            },
            {
                "name": "navigate",
                "parameters": [
                    {
                        "name": "url",
                        "type": "string",
                        "description": "URL to navigate the page to."
                    }
                ],
                "returns": [
                    {
                        "name": "frameId",
                        "$ref": "FrameId",
                        "experimental": true,
                        "description": "Frame id that will be navigated."
                    }
                ],
                "description": "Navigates current page to the given URL.",
                "handlers": [
                    "browser",
                    "renderer"
                ]
            },
            {
                "name": "setGeolocationOverride",
                "description": "Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable.",
                "parameters": [
                    {
                        "name": "latitude",
                        "type": "number",
                        "optional": true,
                        "description": "Mock latitude"
                    },
                    {
                        "name": "longitude",
                        "type": "number",
                        "optional": true,
                        "description": "Mock longitude"
                    },
                    {
                        "name": "accuracy",
                        "type": "number",
                        "optional": true,
                        "description": "Mock accuracy"
                    }
                ],
                "redirect": "Emulation",
                "handlers": [
                    "browser"
                ]
            },
            {
                "name": "clearGeolocationOverride",
                "description": "Clears the overriden Geolocation Position and Error.",
                "redirect": "Emulation",
                "handlers": [
                    "browser"
                ]
            },
            {
                "name": "handleJavaScriptDialog",
                "description": "Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).",
                "parameters": [
                    {
                        "name": "accept",
                        "type": "boolean",
                        "description": "Whether to accept or dismiss the dialog."
                    },
                    {
                        "name": "promptText",
                        "type": "string",
                        "optional": true,
                        "description": "The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog."
                    }
                ],
                "handlers": [
                    "browser"
                ]
            }
        ],
        "events": [
            {
                "name": "domContentEventFired",
                "parameters": [
                    {
                        "name": "timestamp",
                        "type": "number"
                    }
                ]
            },
            {
                "name": "loadEventFired",
                "parameters": [
                    {
                        "name": "timestamp",
                        "type": "number"
                    }
                ]
            },
            {
                "name": "frameAttached",
                "description": "Fired when frame has been attached to its parent.",
                "parameters": [
                    {
                        "name": "frameId",
                        "$ref": "FrameId",
                        "description": "Id of the frame that has been attached."
                    },
                    {
                        "name": "parentFrameId",
                        "$ref": "FrameId",
                        "description": "Parent frame identifier."
                    }
                ]
            },
            {
                "name": "frameNavigated",
                "description": "Fired once navigation of the frame has completed. Frame is now associated with the new loader.",
                "parameters": [
                    {
                        "name": "frame",
                        "$ref": "Frame",
                        "description": "Frame object."
                    }
                ]
            },
            {
                "name": "frameDetached",
                "description": "Fired when frame has been detached from its parent.",
                "parameters": [
                    {
                        "name": "frameId",
                        "$ref": "FrameId",
                        "description": "Id of the frame that has been detached."
                    }
                ]
            },
            {
                "name": "javascriptDialogOpening",
                "description": "Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open.",
                "parameters": [
                    {
                        "name": "message",
                        "type": "string",
                        "description": "Message that will be displayed by the dialog."
                    },
                    {
                        "name": "type",
                        "$ref": "DialogType",
                        "description": "Dialog type."
                    }
                ]
            },
            {
                "name": "javascriptDialogClosed",
                "description": "Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed.",
                "parameters": [
                    {
                        "name": "result",
                        "type": "boolean",
                        "description": "Whether dialog was confirmed."
                    }
                ]
            },
            {
                "name": "interstitialShown",
                "description": "Fired when interstitial page was shown",
                "handlers": [
                    "browser"
                ]
            },
            {
                "name": "interstitialHidden",
                "description": "Fired when interstitial page was hidden",
                "handlers": [
                    "browser"
                ]
            },
            {
                "name": "navigationRequested",
                "description": "Fired when a navigation is started if navigation throttles are enabled.  The navigation will be deferred until processNavigation is called.",
                "parameters": [
                    {
                        "name": "isInMainFrame",
                        "type": "boolean",
                        "description": "Whether the navigation is taking place in the main frame or in a subframe."
                    },
                    {
                        "name": "isRedirect",
                        "type": "boolean",
                        "description": "Whether the navigation has encountered a server redirect or not."
                    },
                    {
                        "name": "navigationId",
                        "type": "integer"
                    },
                    {
                        "name": "url",
                        "type": "string",
                        "description": "URL of requested navigation."
                    }
                ],
                "handlers": [
                    "browser"
                ]
            }
        ]
    },
    {
        "domain": "Emulation",
        "description": "This domain emulates different environments for the page.",
        "types": [
            {
                "id": "ScreenOrientation",
                "type": "object",
                "description": "Screen orientation.",
                "properties": [
                    {
                        "name": "type",
                        "type": "string",
                        "enum": [
                            "portraitPrimary",
                            "portraitSecondary",
                            "landscapePrimary",
                            "landscapeSecondary"
                        ],
                        "description": "Orientation type."
                    },
                    {
                        "name": "angle",
                        "type": "integer",
                        "description": "Orientation angle."
                    }
                ]
            }
        ],
        "commands": [
            {
                "name": "setDeviceMetricsOverride",
                "description": "Overrides the values of device screen dimensions (window.screen.width, window.screen.height, window.innerWidth, window.innerHeight, and \"device-width\"/\"device-height\"-related CSS media query results).",
                "parameters": [
                    {
                        "name": "width",
                        "type": "integer",
                        "description": "Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override."
                    },
                    {
                        "name": "height",
                        "type": "integer",
                        "description": "Overriding height value in pixels (minimum 0, maximum 10000000). 0 disables the override."
                    },
                    {
                        "name": "deviceScaleFactor",
                        "type": "number",
                        "description": "Overriding device scale factor value. 0 disables the override."
                    },
                    {
                        "name": "mobile",
                        "type": "boolean",
                        "description": "Whether to emulate mobile device. This includes viewport meta tag, overlay scrollbars, text autosizing and more."
                    },
                    {
                        "name": "fitWindow",
                        "type": "boolean",
                        "description": "Whether a view that exceeds the available browser window area should be scaled down to fit."
                    },
                    {
                        "name": "scale",
                        "type": "number",
                        "optional": true,
                        "experimental": true,
                        "description": "Scale to apply to resulting view image. Ignored in |fitWindow| mode."
                    },
                    {
                        "name": "offsetX",
                        "type": "number",
                        "optional": true,
                        "deprecated": true,
                        "experimental": true,
                        "description": "Not used."
                    },
                    {
                        "name": "offsetY",
                        "type": "number",
                        "optional": true,
                        "deprecated": true,
                        "experimental": true,
                        "description": "Not used."
                    },
                    {
                        "name": "screenWidth",
                        "type": "integer",
                        "optional": true,
                        "experimental": true,
                        "description": "Overriding screen width value in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|."
                    },
                    {
                        "name": "screenHeight",
                        "type": "integer",
                        "optional": true,
                        "experimental": true,
                        "description": "Overriding screen height value in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|."
                    },
                    {
                        "name": "positionX",
                        "type": "integer",
                        "optional": true,
                        "experimental": true,
                        "description": "Overriding view X position on screen in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|."
                    },
                    {
                        "name": "positionY",
                        "type": "integer",
                        "optional": true,
                        "experimental": true,
                        "description": "Overriding view Y position on screen in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|."
                    },
                    {
                        "name": "screenOrientation",
                        "$ref": "ScreenOrientation",
                        "optional": true,
                        "description": "Screen orientation override."
                    }
                ],
                "handlers": [
                    "browser"
                ]
            },
            {
                "name": "clearDeviceMetricsOverride",
                "description": "Clears the overriden device metrics.",
                "handlers": [
                    "browser"
                ]
            },
            {
                "name": "setTouchEmulationEnabled",
                "parameters": [
                    {
                        "name": "enabled",
                        "type": "boolean",
                        "description": "Whether the touch event emulation should be enabled."
                    },
                    {
                        "name": "configuration",
                        "type": "string",
                        "enum": [
                            "mobile",
                            "desktop"
                        ],
                        "optional": true,
                        "description": "Touch/gesture events configuration. Default: current platform."
                    }
                ],
                "description": "Toggles mouse event-based touch event emulation.",
                "handlers": [
                    "browser",
                    "renderer"
                ]
            },
            {
                "name": "setEmulatedMedia",
                "parameters": [
                    {
                        "name": "media",
                        "type": "string",
                        "description": "Media type to emulate. Empty string disables the override."
                    }
                ],
                "description": "Emulates the given media for CSS media queries."
            }
        ],
        "events": []
    },
    {
        "domain": "Network",
        "description": "Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and responses, their headers, bodies, timing, etc.",
        "dependencies": [
            "Runtime",
            "Security"
        ],
        "types": [
            {
                "id": "LoaderId",
                "type": "string",
                "description": "Unique loader identifier."
            },
            {
                "id": "RequestId",
                "type": "string",
                "description": "Unique request identifier."
            },
            {
                "id": "Timestamp",
                "type": "number",
                "description": "Number of seconds since epoch."
            },
            {
                "id": "Headers",
                "type": "object",
                "description": "Request / response headers as keys / values of JSON object."
            },
            {
                "id": "ConnectionType",
                "type": "string",
                "enum": [
                    "none",
                    "cellular2g",
                    "cellular3g",
                    "cellular4g",
                    "bluetooth",
                    "ethernet",
                    "wifi",
                    "wimax",
                    "other"
                ],
                "description": "Loading priority of a resource request."
            },
            {
                "id": "CookieSameSite",
                "type": "string",
                "enum": [
                    "Strict",
                    "Lax"
                ],
                "description": "Represents the cookie's 'SameSite' status: https://tools.ietf.org/html/draft-west-first-party-cookies"
            },
            {
                "id": "ResourceTiming",
                "type": "object",
                "description": "Timing information for the request.",
                "properties": [
                    {
                        "name": "requestTime",
                        "type": "number",
                        "description": "Timing's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime."
                    },
                    {
                        "name": "proxyStart",
                        "type": "number",
                        "description": "Started resolving proxy."
                    },
                    {
                        "name": "proxyEnd",
                        "type": "number",
                        "description": "Finished resolving proxy."
                    },
                    {
                        "name": "dnsStart",
                        "type": "number",
                        "description": "Started DNS address resolve."
                    },
                    {
                        "name": "dnsEnd",
                        "type": "number",
                        "description": "Finished DNS address resolve."
                    },
                    {
                        "name": "connectStart",
                        "type": "number",
                        "description": "Started connecting to the remote host."
                    },
                    {
                        "name": "connectEnd",
                        "type": "number",
                        "description": "Connected to the remote host."
                    },
                    {
                        "name": "sslStart",
                        "type": "number",
                        "description": "Started SSL handshake."
                    },
                    {
                        "name": "sslEnd",
                        "type": "number",
                        "description": "Finished SSL handshake."
                    },
                    {
                        "name": "workerStart",
                        "type": "number",
                        "description": "Started running ServiceWorker.",
                        "experimental": true
                    },
                    {
                        "name": "workerReady",
                        "type": "number",
                        "description": "Finished Starting ServiceWorker.",
                        "experimental": true
                    },
                    {
                        "name": "sendStart",
                        "type": "number",
                        "description": "Started sending request."
                    },
                    {
                        "name": "sendEnd",
                        "type": "number",
                        "description": "Finished sending request."
                    },
                    {
                        "name": "pushStart",
                        "type": "number",
                        "description": "Time the server started pushing request.",
                        "experimental": true
                    },
                    {
                        "name": "pushEnd",
                        "type": "number",
                        "description": "Time the server finished pushing request.",
                        "experimental": true
                    },
                    {
                        "name": "receiveHeadersEnd",
                        "type": "number",
                        "description": "Finished receiving response headers."
                    }
                ]
            },
            {
                "id": "ResourcePriority",
                "type": "string",
                "enum": [
                    "VeryLow",
                    "Low",
                    "Medium",
                    "High",
                    "VeryHigh"
                ],
                "description": "Loading priority of a resource request."
            },
            {
                "id": "Request",
                "type": "object",
                "description": "HTTP request data.",
                "properties": [
                    {
                        "name": "url",
                        "type": "string",
                        "description": "Request URL."
                    },
                    {
                        "name": "method",
                        "type": "string",
                        "description": "HTTP request method."
                    },
                    {
                        "name": "headers",
                        "$ref": "Headers",
                        "description": "HTTP request headers."
                    },
                    {
                        "name": "postData",
                        "type": "string",
                        "optional": true,
                        "description": "HTTP POST request data."
                    },
                    {
                        "name": "mixedContentType",
                        "optional": true,
                        "type": "string",
                        "enum": [
                            "blockable",
                            "optionally-blockable",
                            "none"
                        ],
                        "description": "The mixed content status of the request, as defined in http://www.w3.org/TR/mixed-content/"
                    },
                    {
                        "name": "initialPriority",
                        "$ref": "ResourcePriority",
                        "description": "Priority of the resource request at the time request is sent."
                    }
                ]
            },
            {
                "id": "SignedCertificateTimestamp",
                "type": "object",
                "description": "Details of a signed certificate timestamp (SCT).",
                "properties": [
                    {
                        "name": "status",
                        "type": "string",
                        "description": "Validation status."
                    },
                    {
                        "name": "origin",
                        "type": "string",
                        "description": "Origin."
                    },
                    {
                        "name": "logDescription",
                        "type": "string",
                        "description": "Log name / description."
                    },
                    {
                        "name": "logId",
                        "type": "string",
                        "description": "Log ID."
                    },
                    {
                        "name": "timestamp",
                        "$ref": "Timestamp",
                        "description": "Issuance date."
                    },
                    {
                        "name": "hashAlgorithm",
                        "type": "string",
                        "description": "Hash algorithm."
                    },
                    {
                        "name": "signatureAlgorithm",
                        "type": "string",
                        "description": "Signature algorithm."
                    },
                    {
                        "name": "signatureData",
                        "type": "string",
                        "description": "Signature data."
                    }
                ]
            },
            {
                "id": "SecurityDetails",
                "type": "object",
                "description": "Security details about a request.",
                "properties": [
                    {
                        "name": "protocol",
                        "type": "string",
                        "description": "Protocol name (e.g. \"TLS 1.2\" or \"QUIC\")."
                    },
                    {
                        "name": "keyExchange",
                        "type": "string",
                        "description": "Key Exchange used by the connection."
                    },
                    {
                        "name": "keyExchangeGroup",
                        "type": "string",
                        "optional": true,
                        "description": "(EC)DH group used by the connection, if applicable."
                    },
                    {
                        "name": "cipher",
                        "type": "string",
                        "description": "Cipher name."
                    },
                    {
                        "name": "mac",
                        "type": "string",
                        "optional": true,
                        "description": "TLS MAC. Note that AEAD ciphers do not have separate MACs."
                    },
                    {
                        "name": "certificateId",
                        "$ref": "Security.CertificateId",
                        "description": "Certificate ID value."
                    },
                    {
                        "name": "subjectName",
                        "type": "string",
                        "description": "Certificate subject name."
                    },
                    {
                        "name": "sanList",
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "Subject Alternative Name (SAN) DNS names and IP addresses."
                    },
                    {
                        "name": "issuer",
                        "type": "string",
                        "description": "Name of the issuing CA."
                    },
                    {
                        "name": "validFrom",
                        "$ref": "Timestamp",
                        "description": "Certificate valid from date."
                    },
                    {
                        "name": "validTo",
                        "$ref": "Timestamp",
                        "description": "Certificate valid to (expiration) date"
                    },
                    {
                        "name": "signedCertificateTimestampList",
                        "type": "array",
                        "items": {
                            "$ref": "SignedCertificateTimestamp"
                        },
                        "description": "List of signed certificate timestamps (SCTs)."
                    }
                ]
            },
            {
                "id": "Response",
                "type": "object",
                "description": "HTTP response data.",
                "properties": [
                    {
                        "name": "url",
                        "type": "string",
                        "description": "Response URL. This URL can be different from CachedResource.url in case of redirect."
                    },
                    {
                        "name": "status",
                        "type": "number",
                        "description": "HTTP response status code."
                    },
                    {
                        "name": "statusText",
                        "type": "string",
                        "description": "HTTP response status text."
                    },
                    {
                        "name": "headers",
                        "$ref": "Headers",
                        "description": "HTTP response headers."
                    },
                    {
                        "name": "headersText",
                        "type": "string",
                        "optional": true,
                        "description": "HTTP response headers text."
                    },
                    {
                        "name": "mimeType",
                        "type": "string",
                        "description": "Resource mimeType as determined by the browser."
                    },
                    {
                        "name": "requestHeaders",
                        "$ref": "Headers",
                        "optional": true,
                        "description": "Refined HTTP request headers that were actually transmitted over the network."
                    },
                    {
                        "name": "requestHeadersText",
                        "type": "string",
                        "optional": true,
                        "description": "HTTP request headers text."
                    },
                    {
                        "name": "connectionReused",
                        "type": "boolean",
                        "description": "Specifies whether physical connection was actually reused for this request."
                    },
                    {
                        "name": "connectionId",
                        "type": "number",
                        "description": "Physical connection id that was actually used for this request."
                    },
                    {
                        "name": "remoteIPAddress",
                        "type": "string",
                        "optional": true,
                        "experimental": true,
                        "description": "Remote IP address."
                    },
                    {
                        "name": "remotePort",
                        "type": "integer",
                        "optional": true,
                        "experimental": true,
                        "description": "Remote port."
                    },
                    {
                        "name": "fromDiskCache",
                        "type": "boolean",
                        "optional": true,
                        "description": "Specifies that the request was served from the disk cache."
                    },
                    {
                        "name": "fromServiceWorker",
                        "type": "boolean",
                        "optional": true,
                        "description": "Specifies that the request was served from the ServiceWorker."
                    },
                    {
                        "name": "encodedDataLength",
                        "type": "number",
                        "optional": false,
                        "description": "Total number of bytes received for this request so far."
                    },
                    {
                        "name": "timing",
                        "$ref": "ResourceTiming",
                        "optional": true,
                        "description": "Timing information for the given request."
                    },
                    {
                        "name": "protocol",
                        "type": "string",
                        "optional": true,
                        "description": "Protocol used to fetch this request."
                    },
                    {
                        "name": "securityState",
                        "$ref": "Security.SecurityState",
                        "description": "Security state of the request resource."
                    },
                    {
                        "name": "securityDetails",
                        "$ref": "SecurityDetails",
                        "optional": true,
                        "description": "Security details for the request."
                    }
                ]
            },
            {
                "id": "CachedResource",
                "type": "object",
                "description": "Information about the cached resource.",
                "properties": [
                    {
                        "name": "url",
                        "type": "string",
                        "description": "Resource URL. This is the url of the original network request."
                    },
                    {
                        "name": "type",
                        "$ref": "Page.ResourceType",
                        "description": "Type of this resource."
                    },
                    {
                        "name": "response",
                        "$ref": "Response",
                        "optional": true,
                        "description": "Cached response data."
                    },
                    {
                        "name": "bodySize",
                        "type": "number",
                        "description": "Cached response body size."
                    }
                ]
            },
            {
                "id": "Initiator",
                "type": "object",
                "description": "Information about the request initiator.",
                "properties": [
                    {
                        "name": "type",
                        "type": "string",
                        "enum": [
                            "parser",
                            "script",
                            "other"
                        ],
                        "description": "Type of this initiator."
                    },
                    {
                        "name": "stack",
                        "$ref": "Runtime.StackTrace",
                        "optional": true,
                        "description": "Initiator JavaScript stack trace, set for Script only."
                    },
                    {
                        "name": "url",
                        "type": "string",
                        "optional": true,
                        "description": "Initiator URL, set for Parser type only."
                    },
                    {
                        "name": "lineNumber",
                        "type": "number",
                        "optional": true,
                        "description": "Initiator line number, set for Parser type only (0-based)."
                    }
                ]
            }
        ],
        "commands": [
            {
                "name": "enable",
                "description": "Enables network tracking, network events will now be delivered to the client.",
                "parameters": [
                    {
                        "name": "maxTotalBufferSize",
                        "type": "integer",
                        "optional": true,
                        "experimental": true,
                        "description": "Buffer size in bytes to use when preserving network payloads (XHRs, etc)."
                    },
                    {
                        "name": "maxResourceBufferSize",
                        "type": "integer",
                        "optional": true,
                        "experimental": true,
                        "description": "Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc)."
                    }
                ]
            },
            {
                "name": "disable",
                "description": "Disables network tracking, prevents network events from being sent to the client."
            },
            {
                "name": "setUserAgentOverride",
                "description": "Allows overriding user agent with the given string.",
                "parameters": [
                    {
                        "name": "userAgent",
                        "type": "string",
                        "description": "User agent to use."
                    }
                ]
            },
            {
                "name": "setExtraHTTPHeaders",
                "description": "Specifies whether to always send extra HTTP headers with the requests from this page.",
                "parameters": [
                    {
                        "name": "headers",
                        "$ref": "Headers",
                        "description": "Map with extra HTTP headers."
                    }
                ]
            },
            {
                "name": "getResponseBody",
                "async": true,
                "description": "Returns content served for the given request.",
                "parameters": [
                    {
                        "name": "requestId",
                        "$ref": "RequestId",
                        "description": "Identifier of the network request to get content for."
                    }
                ],
                "returns": [
                    {
                        "name": "body",
                        "type": "string",
                        "description": "Response body."
                    },
                    {
                        "name": "base64Encoded",
                        "type": "boolean",
                        "description": "True, if content was sent as base64."
                    }
                ]
            },
            {
                "name": "canClearBrowserCache",
                "description": "Tells whether clearing browser cache is supported.",
                "returns": [
                    {
                        "name": "result",
                        "type": "boolean",
                        "description": "True if browser cache can be cleared."
                    }
                ]
            },
            {
                "name": "clearBrowserCache",
                "description": "Clears browser cache.",
                "handlers": [
                    "browser"
                ]
            },
            {
                "name": "canClearBrowserCookies",
                "description": "Tells whether clearing browser cookies is supported.",
                "returns": [
                    {
                        "name": "result",
                        "type": "boolean",
                        "description": "True if browser cookies can be cleared."
                    }
                ]
            },
            {
                "name": "clearBrowserCookies",
                "description": "Clears browser cookies.",
                "handlers": [
                    "browser"
                ]
            },
            {
                "name": "emulateNetworkConditions",
                "description": "Activates emulation of network conditions.",
                "parameters": [
                    {
                        "name": "offline",
                        "type": "boolean",
                        "description": "True to emulate internet disconnection."
                    },
                    {
                        "name": "latency",
                        "type": "number",
                        "description": "Additional latency (ms)."
                    },
                    {
                        "name": "downloadThroughput",
                        "type": "number",
                        "description": "Maximal aggregated download throughput."
                    },
                    {
                        "name": "uploadThroughput",
                        "type": "number",
                        "description": "Maximal aggregated upload throughput."
                    },
                    {
                        "name": "connectionType",
                        "$ref": "ConnectionType",
                        "optional": true,
                        "description": "Connection type if known."
                    }
                ],
                "handlers": [
                    "browser",
                    "renderer"
                ]
            },
            {
                "name": "setCacheDisabled",
                "parameters": [
                    {
                        "name": "cacheDisabled",
                        "type": "boolean",
                        "description": "Cache disabled state."
                    }
                ],
                "description": "Toggles ignoring cache for each request. If <code>true</code>, cache will not be used."
            }
        ],
        "events": [
            {
                "name": "requestWillBeSent",
                "description": "Fired when page is about to send HTTP request.",
                "parameters": [
                    {
                        "name": "requestId",
                        "$ref": "RequestId",
                        "description": "Request identifier."
                    },
                    {
                        "name": "frameId",
                        "$ref": "Page.FrameId",
                        "description": "Frame identifier.",
                        "experimental": true
                    },
                    {
                        "name": "loaderId",
                        "$ref": "LoaderId",
                        "description": "Loader identifier."
                    },
                    {
                        "name": "documentURL",
                        "type": "string",
                        "description": "URL of the document this request is loaded for."
                    },
                    {
                        "name": "request",
                        "$ref": "Request",
                        "description": "Request data."
                    },
                    {
                        "name": "timestamp",
                        "$ref": "Timestamp",
                        "description": "Timestamp."
                    },
                    {
                        "name": "wallTime",
                        "$ref": "Timestamp",
                        "experimental": true,
                        "description": "UTC Timestamp."
                    },
                    {
                        "name": "initiator",
                        "$ref": "Initiator",
                        "description": "Request initiator."
                    },
                    {
                        "name": "redirectResponse",
                        "optional": true,
                        "$ref": "Response",
                        "description": "Redirect response data."
                    },
                    {
                        "name": "type",
                        "$ref": "Page.ResourceType",
                        "optional": true,
                        "experimental": true,
                        "description": "Type of this resource."
                    }
                ]
            },
            {
                "name": "requestServedFromCache",
                "description": "Fired if request ended up loading from cache.",
                "parameters": [
                    {
                        "name": "requestId",
                        "$ref": "RequestId",
                        "description": "Request identifier."
                    }
                ]
            },
            {
                "name": "responseReceived",
                "description": "Fired when HTTP response is available.",
                "parameters": [
                    {
                        "name": "requestId",
                        "$ref": "RequestId",
                        "description": "Request identifier."
                    },
                    {
                        "name": "frameId",
                        "$ref": "Page.FrameId",
                        "description": "Frame identifier.",
                        "experimental": true
                    },
                    {
                        "name": "loaderId",
                        "$ref": "LoaderId",
                        "description": "Loader identifier."
                    },
                    {
                        "name": "timestamp",
                        "$ref": "Timestamp",
                        "description": "Timestamp."
                    },
                    {
                        "name": "type",
                        "$ref": "Page.ResourceType",
                        "description": "Resource type."
                    },
                    {
                        "name": "response",
                        "$ref": "Response",
                        "description": "Response data."
                    }
                ]
            },
            {
                "name": "dataReceived",
                "description": "Fired when data chunk was received over the network.",
                "parameters": [
                    {
                        "name": "requestId",
                        "$ref": "RequestId",
                        "description": "Request identifier."
                    },
                    {
                        "name": "timestamp",
                        "$ref": "Timestamp",
                        "description": "Timestamp."
                    },
                    {
                        "name": "dataLength",
                        "type": "integer",
                        "description": "Data chunk length."
                    },
                    {
                        "name": "encodedDataLength",
                        "type": "integer",
                        "description": "Actual bytes received (might be less than dataLength for compressed encodings)."
                    }
                ]
            },
            {
                "name": "loadingFinished",
                "description": "Fired when HTTP request has finished loading.",
                "parameters": [
                    {
                        "name": "requestId",
                        "$ref": "RequestId",
                        "description": "Request identifier."
                    },
                    {
                        "name": "timestamp",
                        "$ref": "Timestamp",
                        "description": "Timestamp."
                    },
                    {
                        "name": "encodedDataLength",
                        "type": "number",
                        "description": "Total number of bytes received for this request."
                    }
                ]
            },
            {
                "name": "loadingFailed",
                "description": "Fired when HTTP request has failed to load.",
                "parameters": [
                    {
                        "name": "requestId",
                        "$ref": "RequestId",
                        "description": "Request identifier."
                    },
                    {
                        "name": "timestamp",
                        "$ref": "Timestamp",
                        "description": "Timestamp."
                    },
                    {
                        "name": "type",
                        "$ref": "Page.ResourceType",
                        "description": "Resource type."
                    },
                    {
                        "name": "errorText",
                        "type": "string",
                        "description": "User friendly error message."
                    },
                    {
                        "name": "canceled",
                        "type": "boolean",
                        "optional": true,
                        "description": "True if loading was canceled."
                    },
                    {
                        "name": "blockedReason",
                        "$ref": "BlockedReason",
                        "optional": true,
                        "description": "The reason why loading was blocked, if any.",
                        "experimental": true
                    }
                ]
            }
        ]
    },
    {
        "domain": "DOM",
        "description": "This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object that has an <code>id</code>. This <code>id</code> can be used to get additional information on the Node, resolve it into the JavaScript object wrapper, etc. It is important that client receives DOM events only for the nodes that are known to the client. Backend keeps track of the nodes that were sent to the client and never sends the same node twice. It is client's responsibility to collect information about the nodes that were sent to the client.<p>Note that <code>iframe</code> owner elements will return corresponding document elements as their child nodes.</p>",
        "dependencies": [
            "Runtime"
        ],
        "types": [
            {
                "id": "NodeId",
                "type": "integer",
                "description": "Unique DOM node identifier."
            },
            {
                "id": "PseudoType",
                "type": "string",
                "enum": [
                    "first-line",
                    "first-letter",
                    "before",
                    "after",
                    "backdrop",
                    "selection",
                    "first-line-inherited",
                    "scrollbar",
                    "scrollbar-thumb",
                    "scrollbar-button",
                    "scrollbar-track",
                    "scrollbar-track-piece",
                    "scrollbar-corner",
                    "resizer",
                    "input-list-button"
                ],
                "description": "Pseudo element type."
            },
            {
                "id": "ShadowRootType",
                "type": "string",
                "enum": [
                    "user-agent",
                    "open",
                    "closed"
                ],
                "description": "Shadow root type."
            },
            {
                "id": "Node",
                "type": "object",
                "properties": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Node identifier that is passed into the rest of the DOM messages as the <code>nodeId</code>. Backend will only push node with given <code>id</code> once. It is aware of all requested nodes and will only fire DOM events for nodes known to the client."
                    },
                    {
                        "name": "nodeType",
                        "type": "integer",
                        "description": "<code>Node</code>'s nodeType."
                    },
                    {
                        "name": "nodeName",
                        "type": "string",
                        "description": "<code>Node</code>'s nodeName."
                    },
                    {
                        "name": "localName",
                        "type": "string",
                        "description": "<code>Node</code>'s localName."
                    },
                    {
                        "name": "nodeValue",
                        "type": "string",
                        "description": "<code>Node</code>'s nodeValue."
                    },
                    {
                        "name": "childNodeCount",
                        "type": "integer",
                        "optional": true,
                        "description": "Child count for <code>Container</code> nodes."
                    },
                    {
                        "name": "children",
                        "type": "array",
                        "optional": true,
                        "items": {
                            "$ref": "Node"
                        },
                        "description": "Child nodes of this node when requested with children."
                    },
                    {
                        "name": "attributes",
                        "type": "array",
                        "optional": true,
                        "items": {
                            "type": "string"
                        },
                        "description": "Attributes of the <code>Element</code> node in the form of flat array <code>[name1, value1, name2, value2]</code>."
                    },
                    {
                        "name": "documentURL",
                        "type": "string",
                        "optional": true,
                        "description": "Document URL that <code>Document</code> or <code>FrameOwner</code> node points to."
                    },
                    {
                        "name": "baseURL",
                        "type": "string",
                        "optional": true,
                        "description": "Base URL that <code>Document</code> or <code>FrameOwner</code> node uses for URL completion.",
                        "experimental": true
                    },
                    {
                        "name": "publicId",
                        "type": "string",
                        "optional": true,
                        "description": "<code>DocumentType</code>'s publicId."
                    },
                    {
                        "name": "systemId",
                        "type": "string",
                        "optional": true,
                        "description": "<code>DocumentType</code>'s systemId."
                    },
                    {
                        "name": "internalSubset",
                        "type": "string",
                        "optional": true,
                        "description": "<code>DocumentType</code>'s internalSubset."
                    },
                    {
                        "name": "xmlVersion",
                        "type": "string",
                        "optional": true,
                        "description": "<code>Document</code>'s XML version in case of XML documents."
                    },
                    {
                        "name": "name",
                        "type": "string",
                        "optional": true,
                        "description": "<code>Attr</code>'s name."
                    },
                    {
                        "name": "value",
                        "type": "string",
                        "optional": true,
                        "description": "<code>Attr</code>'s value."
                    },
                    {
                        "name": "pseudoType",
                        "$ref": "PseudoType",
                        "optional": true,
                        "description": "Pseudo element type for this node."
                    },
                    {
                        "name": "shadowRootType",
                        "$ref": "ShadowRootType",
                        "optional": true,
                        "description": "Shadow root type."
                    },
                    {
                        "name": "frameId",
                        "$ref": "Page.FrameId",
                        "optional": true,
                        "description": "Frame ID for frame owner elements.",
                        "experimental": true
                    },
                    {
                        "name": "contentDocument",
                        "$ref": "Node",
                        "optional": true,
                        "description": "Content document for frame owner elements."
                    },
                    {
                        "name": "shadowRoots",
                        "type": "array",
                        "optional": true,
                        "items": {
                            "$ref": "Node"
                        },
                        "description": "Shadow root list for given element host.",
                        "experimental": true
                    },
                    {
                        "name": "templateContent",
                        "$ref": "Node",
                        "optional": true,
                        "description": "Content document fragment for template elements.",
                        "experimental": true
                    },
                    {
                        "name": "pseudoElements",
                        "type": "array",
                        "items": {
                            "$ref": "Node"
                        },
                        "optional": true,
                        "description": "Pseudo elements associated with this node.",
                        "experimental": true
                    },
                    {
                        "name": "importedDocument",
                        "$ref": "Node",
                        "optional": true,
                        "description": "Import document for the HTMLImport links."
                    },
                    {
                        "name": "distributedNodes",
                        "type": "array",
                        "items": {
                            "$ref": "BackendNode"
                        },
                        "optional": true,
                        "description": "Distributed nodes for given insertion point.",
                        "experimental": true
                    }
                ],
                "description": "DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type."
            },
            {
                "id": "RGBA",
                "type": "object",
                "properties": [
                    {
                        "name": "r",
                        "type": "integer",
                        "description": "The red component, in the [0-255] range."
                    },
                    {
                        "name": "g",
                        "type": "integer",
                        "description": "The green component, in the [0-255] range."
                    },
                    {
                        "name": "b",
                        "type": "integer",
                        "description": "The blue component, in the [0-255] range."
                    },
                    {
                        "name": "a",
                        "type": "number",
                        "optional": true,
                        "description": "The alpha component, in the [0-1] range (default: 1)."
                    }
                ],
                "description": "A structure holding an RGBA color."
            },
            {
                "id": "HighlightConfig",
                "type": "object",
                "properties": [
                    {
                        "name": "showInfo",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether the node info tooltip should be shown (default: false)."
                    },
                    {
                        "name": "showRulers",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether the rulers should be shown (default: false)."
                    },
                    {
                        "name": "showExtensionLines",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether the extension lines from node to the rulers should be shown (default: false)."
                    },
                    {
                        "name": "displayAsMaterial",
                        "type": "boolean",
                        "optional": true,
                        "experimental": true
                    },
                    {
                        "name": "contentColor",
                        "$ref": "RGBA",
                        "optional": true,
                        "description": "The content box highlight fill color (default: transparent)."
                    },
                    {
                        "name": "paddingColor",
                        "$ref": "RGBA",
                        "optional": true,
                        "description": "The padding highlight fill color (default: transparent)."
                    },
                    {
                        "name": "borderColor",
                        "$ref": "RGBA",
                        "optional": true,
                        "description": "The border highlight fill color (default: transparent)."
                    },
                    {
                        "name": "marginColor",
                        "$ref": "RGBA",
                        "optional": true,
                        "description": "The margin highlight fill color (default: transparent)."
                    },
                    {
                        "name": "eventTargetColor",
                        "$ref": "RGBA",
                        "optional": true,
                        "experimental": true,
                        "description": "The event target element highlight fill color (default: transparent)."
                    },
                    {
                        "name": "shapeColor",
                        "$ref": "RGBA",
                        "optional": true,
                        "experimental": true,
                        "description": "The shape outside fill color (default: transparent)."
                    },
                    {
                        "name": "shapeMarginColor",
                        "$ref": "RGBA",
                        "optional": true,
                        "experimental": true,
                        "description": "The shape margin fill color (default: transparent)."
                    },
                    {
                        "name": "selectorList",
                        "type": "string",
                        "optional": true,
                        "description": "Selectors to highlight relevant nodes."
                    }
                ],
                "description": "Configuration data for the highlighting of page elements."
            }
        ],
        "commands": [
            {
                "name": "enable",
                "description": "Enables DOM agent for the given page."
            },
            {
                "name": "disable",
                "description": "Disables DOM agent for the given page."
            },
            {
                "name": "getDocument",
                "returns": [
                    {
                        "name": "root",
                        "$ref": "Node",
                        "description": "Resulting node."
                    }
                ],
                "description": "Returns the root DOM node to the caller."
            },
            {
                "name": "requestChildNodes",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node to get children for."
                    },
                    {
                        "name": "depth",
                        "type": "integer",
                        "optional": true,
                        "description": "The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.",
                        "experimental": true
                    }
                ],
                "description": "Requests that children of the node with given id are returned to the caller in form of <code>setChildNodes</code> events where not only immediate children are retrieved, but all children down to the specified depth."
            },
            {
                "name": "querySelector",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node to query upon."
                    },
                    {
                        "name": "selector",
                        "type": "string",
                        "description": "Selector string."
                    }
                ],
                "returns": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Query selector result."
                    }
                ],
                "description": "Executes <code>querySelector</code> on a given node."
            },
            {
                "name": "querySelectorAll",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node to query upon."
                    },
                    {
                        "name": "selector",
                        "type": "string",
                        "description": "Selector string."
                    }
                ],
                "returns": [
                    {
                        "name": "nodeIds",
                        "type": "array",
                        "items": {
                            "$ref": "NodeId"
                        },
                        "description": "Query selector result."
                    }
                ],
                "description": "Executes <code>querySelectorAll</code> on a given node."
            },
            {
                "name": "setNodeName",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node to set name for."
                    },
                    {
                        "name": "name",
                        "type": "string",
                        "description": "New node's name."
                    }
                ],
                "returns": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "New node's id."
                    }
                ],
                "description": "Sets node name for a node with given id."
            },
            {
                "name": "setNodeValue",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node to set value for."
                    },
                    {
                        "name": "value",
                        "type": "string",
                        "description": "New node's value."
                    }
                ],
                "description": "Sets node value for a node with given id."
            },
            {
                "name": "removeNode",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node to remove."
                    }
                ],
                "description": "Removes node with given id."
            },
            {
                "name": "setAttributeValue",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the element to set attribute for."
                    },
                    {
                        "name": "name",
                        "type": "string",
                        "description": "Attribute name."
                    },
                    {
                        "name": "value",
                        "type": "string",
                        "description": "Attribute value."
                    }
                ],
                "description": "Sets attribute for an element with given id."
            },
            {
                "name": "setAttributesAsText",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the element to set attributes for."
                    },
                    {
                        "name": "text",
                        "type": "string",
                        "description": "Text with a number of attributes. Will parse this text using HTML parser."
                    },
                    {
                        "name": "name",
                        "type": "string",
                        "optional": true,
                        "description": "Attribute name to replace with new attributes derived from text in case text parsed successfully."
                    }
                ],
                "description": "Sets attributes on element with given id. This method is useful when user edits some existing attribute value and types in several attribute name/value pairs."
            },
            {
                "name": "removeAttribute",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the element to remove attribute from."
                    },
                    {
                        "name": "name",
                        "type": "string",
                        "description": "Name of the attribute to remove."
                    }
                ],
                "description": "Removes attribute with given name from an element with given id."
            },
            {
                "name": "getOuterHTML",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node to get markup for."
                    }
                ],
                "returns": [
                    {
                        "name": "outerHTML",
                        "type": "string",
                        "description": "Outer HTML markup."
                    }
                ],
                "description": "Returns node's HTML markup."
            },
            {
                "name": "setOuterHTML",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node to set markup for."
                    },
                    {
                        "name": "outerHTML",
                        "type": "string",
                        "description": "Outer HTML markup to set."
                    }
                ],
                "description": "Sets node HTML markup, returns new node id."
            },
            {
                "name": "requestNode",
                "parameters": [
                    {
                        "name": "objectId",
                        "$ref": "Runtime.RemoteObjectId",
                        "description": "JavaScript object id to convert into node."
                    }
                ],
                "returns": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Node id for given object."
                    }
                ],
                "description": "Requests that the node is sent to the caller given the JavaScript node object reference. All nodes that form the path from the node to the root are also sent to the client as a series of <code>setChildNodes</code> notifications."
            },
            {
                "name": "highlightRect",
                "parameters": [
                    {
                        "name": "x",
                        "type": "integer",
                        "description": "X coordinate"
                    },
                    {
                        "name": "y",
                        "type": "integer",
                        "description": "Y coordinate"
                    },
                    {
                        "name": "width",
                        "type": "integer",
                        "description": "Rectangle width"
                    },
                    {
                        "name": "height",
                        "type": "integer",
                        "description": "Rectangle height"
                    },
                    {
                        "name": "color",
                        "$ref": "RGBA",
                        "optional": true,
                        "description": "The highlight fill color (default: transparent)."
                    },
                    {
                        "name": "outlineColor",
                        "$ref": "RGBA",
                        "optional": true,
                        "description": "The highlight outline color (default: transparent)."
                    }
                ],
                "description": "Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport."
            },
            {
                "name": "highlightNode",
                "parameters": [
                    {
                        "name": "highlightConfig",
                        "$ref": "HighlightConfig",
                        "description": "A descriptor for the highlight appearance."
                    },
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "optional": true,
                        "description": "Identifier of the node to highlight."
                    },
                    {
                        "name": "backendNodeId",
                        "$ref": "BackendNodeId",
                        "optional": true,
                        "description": "Identifier of the backend node to highlight."
                    },
                    {
                        "name": "objectId",
                        "$ref": "Runtime.RemoteObjectId",
                        "optional": true,
                        "description": "JavaScript object id of the node to be highlighted.",
                        "experimental": true
                    }
                ],
                "description": "Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified."
            },
            {
                "name": "hideHighlight",
                "description": "Hides DOM node highlight."
            },
            {
                "name": "resolveNode",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node to resolve."
                    },
                    {
                        "name": "objectGroup",
                        "type": "string",
                        "optional": true,
                        "description": "Symbolic group name that can be used to release multiple objects."
                    }
                ],
                "returns": [
                    {
                        "name": "object",
                        "$ref": "Runtime.RemoteObject",
                        "description": "JavaScript object wrapper for given node."
                    }
                ],
                "description": "Resolves JavaScript node object for given node id."
            },
            {
                "name": "getAttributes",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node to retrieve attibutes for."
                    }
                ],
                "returns": [
                    {
                        "name": "attributes",
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "An interleaved array of node attribute names and values."
                    }
                ],
                "description": "Returns attributes for the specified node."
            },
            {
                "name": "moveTo",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node to move."
                    },
                    {
                        "name": "targetNodeId",
                        "$ref": "NodeId",
                        "description": "Id of the element to drop the moved node into."
                    },
                    {
                        "name": "insertBeforeNodeId",
                        "$ref": "NodeId",
                        "optional": true,
                        "description": "Drop node before this one (if absent, the moved node becomes the last child of <code>targetNodeId</code>)."
                    }
                ],
                "returns": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "New id of the moved node."
                    }
                ],
                "description": "Moves node into the new container, places it before the given anchor."
            }
        ],
        "events": [
            {
                "name": "documentUpdated",
                "description": "Fired when <code>Document</code> has been totally updated. Node ids are no longer valid."
            },
            {
                "name": "setChildNodes",
                "parameters": [
                    {
                        "name": "parentId",
                        "$ref": "NodeId",
                        "description": "Parent node id to populate with children."
                    },
                    {
                        "name": "nodes",
                        "type": "array",
                        "items": {
                            "$ref": "Node"
                        },
                        "description": "Child nodes array."
                    }
                ],
                "description": "Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids."
            },
            {
                "name": "attributeModified",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node that has changed."
                    },
                    {
                        "name": "name",
                        "type": "string",
                        "description": "Attribute name."
                    },
                    {
                        "name": "value",
                        "type": "string",
                        "description": "Attribute value."
                    }
                ],
                "description": "Fired when <code>Element</code>'s attribute is modified."
            },
            {
                "name": "attributeRemoved",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node that has changed."
                    },
                    {
                        "name": "name",
                        "type": "string",
                        "description": "A ttribute name."
                    }
                ],
                "description": "Fired when <code>Element</code>'s attribute is removed."
            },
            {
                "name": "characterDataModified",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node that has changed."
                    },
                    {
                        "name": "characterData",
                        "type": "string",
                        "description": "New text value."
                    }
                ],
                "description": "Mirrors <code>DOMCharacterDataModified</code> event."
            },
            {
                "name": "childNodeCountUpdated",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node that has changed."
                    },
                    {
                        "name": "childNodeCount",
                        "type": "integer",
                        "description": "New node count."
                    }
                ],
                "description": "Fired when <code>Container</code>'s child node count has changed."
            },
            {
                "name": "childNodeInserted",
                "parameters": [
                    {
                        "name": "parentNodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node that has changed."
                    },
                    {
                        "name": "previousNodeId",
                        "$ref": "NodeId",
                        "description": "If of the previous siblint."
                    },
                    {
                        "name": "node",
                        "$ref": "Node",
                        "description": "Inserted node data."
                    }
                ],
                "description": "Mirrors <code>DOMNodeInserted</code> event."
            },
            {
                "name": "childNodeRemoved",
                "parameters": [
                    {
                        "name": "parentNodeId",
                        "$ref": "NodeId",
                        "description": "Parent id."
                    },
                    {
                        "name": "nodeId",
                        "$ref": "NodeId",
                        "description": "Id of the node that has been removed."
                    }
                ],
                "description": "Mirrors <code>DOMNodeRemoved</code> event."
            }
        ]
    },
    {
        "domain": "DOMDebugger",
        "description": "DOM debugging allows setting breakpoints on particular DOM operations and events. JavaScript execution will stop on these operations as if there was a regular breakpoint set.",
        "dependencies": [
            "DOM",
            "Debugger"
        ],
        "types": [
            {
                "id": "DOMBreakpointType",
                "type": "string",
                "enum": [
                    "subtree-modified",
                    "attribute-modified",
                    "node-removed"
                ],
                "description": "DOM breakpoint type."
            }
        ],
        "commands": [
            {
                "name": "setDOMBreakpoint",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "DOM.NodeId",
                        "description": "Identifier of the node to set breakpoint on."
                    },
                    {
                        "name": "type",
                        "$ref": "DOMBreakpointType",
                        "description": "Type of the operation to stop upon."
                    }
                ],
                "description": "Sets breakpoint on particular operation with DOM."
            },
            {
                "name": "removeDOMBreakpoint",
                "parameters": [
                    {
                        "name": "nodeId",
                        "$ref": "DOM.NodeId",
                        "description": "Identifier of the node to remove breakpoint from."
                    },
                    {
                        "name": "type",
                        "$ref": "DOMBreakpointType",
                        "description": "Type of the breakpoint to remove."
                    }
                ],
                "description": "Removes DOM breakpoint that was set using <code>setDOMBreakpoint</code>."
            },
            {
                "name": "setEventListenerBreakpoint",
                "parameters": [
                    {
                        "name": "eventName",
                        "type": "string",
                        "description": "DOM Event name to stop on (any DOM event will do)."
                    },
                    {
                        "name": "targetName",
                        "type": "string",
                        "optional": true,
                        "description": "EventTarget interface name to stop on. If equal to <code>\"*\"</code> or not provided, will stop on any EventTarget.",
                        "experimental": true
                    }
                ],
                "description": "Sets breakpoint on particular DOM event."
            },
            {
                "name": "removeEventListenerBreakpoint",
                "parameters": [
                    {
                        "name": "eventName",
                        "type": "string",
                        "description": "Event name."
                    },
                    {
                        "name": "targetName",
                        "type": "string",
                        "optional": true,
                        "description": "EventTarget interface name.",
                        "experimental": true
                    }
                ],
                "description": "Removes breakpoint on particular DOM event."
            },
            {
                "name": "setXHRBreakpoint",
                "parameters": [
                    {
                        "name": "url",
                        "type": "string",
                        "description": "Resource URL substring. All XHRs having this substring in the URL will get stopped upon."
                    }
                ],
                "description": "Sets breakpoint on XMLHttpRequest."
            },
            {
                "name": "removeXHRBreakpoint",
                "parameters": [
                    {
                        "name": "url",
                        "type": "string",
                        "description": "Resource URL substring."
                    }
                ],
                "description": "Removes breakpoint from XMLHttpRequest."
            }
        ]
    },
    {
        "domain": "Input",
        "types": [],
        "commands": [
            {
                "name": "dispatchKeyEvent",
                "parameters": [
                    {
                        "name": "type",
                        "type": "string",
                        "enum": [
                            "keyDown",
                            "keyUp",
                            "rawKeyDown",
                            "char"
                        ],
                        "description": "Type of the key event."
                    },
                    {
                        "name": "modifiers",
                        "type": "integer",
                        "optional": true,
                        "description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0)."
                    },
                    {
                        "name": "timestamp",
                        "type": "number",
                        "optional": true,
                        "description": "Time at which the event occurred. Measured in UTC time in seconds since January 1, 1970 (default: current time)."
                    },
                    {
                        "name": "text",
                        "type": "string",
                        "optional": true,
                        "description": "Text as generated by processing a virtual key code with a keyboard layout. Not needed for for <code>keyUp</code> and <code>rawKeyDown</code> events (default: \"\")"
                    },
                    {
                        "name": "unmodifiedText",
                        "type": "string",
                        "optional": true,
                        "description": "Text that would have been generated by the keyboard if no modifiers were pressed (except for shift). Useful for shortcut (accelerator) key handling (default: \"\")."
                    },
                    {
                        "name": "keyIdentifier",
                        "type": "string",
                        "optional": true,
                        "description": "Unique key identifier (e.g., 'U+0041') (default: \"\")."
                    },
                    {
                        "name": "code",
                        "type": "string",
                        "optional": true,
                        "description": "Unique DOM defined string value for each physical key (e.g., 'KeyA') (default: \"\")."
                    },
                    {
                        "name": "key",
                        "type": "string",
                        "optional": true,
                        "description": "Unique DOM defined string value describing the meaning of the key in the context of active modifiers, keyboard layout, etc (e.g., 'AltGr') (default: \"\")."
                    },
                    {
                        "name": "windowsVirtualKeyCode",
                        "type": "integer",
                        "optional": true,
                        "description": "Windows virtual key code (default: 0)."
                    },
                    {
                        "name": "nativeVirtualKeyCode",
                        "type": "integer",
                        "optional": true,
                        "description": "Native virtual key code (default: 0)."
                    },
                    {
                        "name": "autoRepeat",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether the event was generated from auto repeat (default: false)."
                    },
                    {
                        "name": "isKeypad",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether the event was generated from the keypad (default: false)."
                    },
                    {
                        "name": "isSystemKey",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether the event was a system key event (default: false)."
                    }
                ],
                "description": "Dispatches a key event to the page.",
                "handlers": [
                    "browser"
                ]
            },
            {
                "name": "dispatchMouseEvent",
                "parameters": [
                    {
                        "name": "type",
                        "type": "string",
                        "enum": [
                            "mousePressed",
                            "mouseReleased",
                            "mouseMoved"
                        ],
                        "description": "Type of the mouse event."
                    },
                    {
                        "name": "x",
                        "type": "integer",
                        "description": "X coordinate of the event relative to the main frame's viewport."
                    },
                    {
                        "name": "y",
                        "type": "integer",
                        "description": "Y coordinate of the event relative to the main frame's viewport. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport."
                    },
                    {
                        "name": "modifiers",
                        "type": "integer",
                        "optional": true,
                        "description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0)."
                    },
                    {
                        "name": "timestamp",
                        "type": "number",
                        "optional": true,
                        "description": "Time at which the event occurred. Measured in UTC time in seconds since January 1, 1970 (default: current time)."
                    },
                    {
                        "name": "button",
                        "type": "string",
                        "enum": [
                            "none",
                            "left",
                            "middle",
                            "right"
                        ],
                        "optional": true,
                        "description": "Mouse button (default: \"none\")."
                    },
                    {
                        "name": "clickCount",
                        "type": "integer",
                        "optional": true,
                        "description": "Number of times the mouse button was clicked (default: 0)."
                    }
                ],
                "description": "Dispatches a mouse event to the page.",
                "handlers": [
                    "browser"
                ]
            }
        ],
        "events": []
    },
    {
        "domain": "Schema",
        "description": "Provides information about the protocol schema.",
        "types": [
            {
                "id": "Domain",
                "type": "object",
                "description": "Description of the protocol domain.",
                "exported": true,
                "properties": [
                    {
                        "name": "name",
                        "type": "string",
                        "description": "Domain name."
                    },
                    {
                        "name": "version",
                        "type": "string",
                        "description": "Domain version."
                    }
                ]
            }
        ],
        "commands": [
            {
                "name": "getDomains",
                "description": "Returns supported domains.",
                "handlers": [
                    "browser",
                    "renderer"
                ],
                "returns": [
                    {
                        "name": "domains",
                        "type": "array",
                        "items": {
                            "$ref": "Domain"
                        },
                        "description": "List of supported domains."
                    }
                ]
            }
        ]
    },
    {
        "domain": "Runtime",
        "description": "Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects. Evaluation results are returned as mirror object that expose object type, string representation and unique identifier that can be used for further object reference. Original objects are maintained in memory unless they are either explicitly released or are released along with the other objects in their object group.",
        "types": [
            {
                "id": "ScriptId",
                "type": "string",
                "description": "Unique script identifier."
            },
            {
                "id": "RemoteObjectId",
                "type": "string",
                "description": "Unique object identifier."
            },
            {
                "id": "UnserializableValue",
                "type": "string",
                "enum": [
                    "Infinity",
                    "NaN",
                    "-Infinity",
                    "-0"
                ],
                "description": "Primitive value which cannot be JSON-stringified."
            },
            {
                "id": "RemoteObject",
                "type": "object",
                "description": "Mirror object referencing original JavaScript object.",
                "exported": true,
                "properties": [
                    {
                        "name": "type",
                        "type": "string",
                        "enum": [
                            "object",
                            "function",
                            "undefined",
                            "string",
                            "number",
                            "boolean",
                            "symbol"
                        ],
                        "description": "Object type."
                    },
                    {
                        "name": "subtype",
                        "type": "string",
                        "optional": true,
                        "enum": [
                            "array",
                            "null",
                            "node",
                            "regexp",
                            "date",
                            "map",
                            "set",
                            "iterator",
                            "generator",
                            "error",
                            "proxy",
                            "promise",
                            "typedarray"
                        ],
                        "description": "Object subtype hint. Specified for <code>object</code> type values only."
                    },
                    {
                        "name": "className",
                        "type": "string",
                        "optional": true,
                        "description": "Object class (constructor) name. Specified for <code>object</code> type values only."
                    },
                    {
                        "name": "value",
                        "type": "any",
                        "optional": true,
                        "description": "Remote object value in case of primitive values or JSON values (if it was requested)."
                    },
                    {
                        "name": "unserializableValue",
                        "$ref": "UnserializableValue",
                        "optional": true,
                        "description": "Primitive value which can not be JSON-stringified does not have <code>value</code>, but gets this property."
                    },
                    {
                        "name": "description",
                        "type": "string",
                        "optional": true,
                        "description": "String representation of the object."
                    },
                    {
                        "name": "objectId",
                        "$ref": "RemoteObjectId",
                        "optional": true,
                        "description": "Unique object identifier (for non-primitive values)."
                    },
                    {
                        "name": "preview",
                        "$ref": "ObjectPreview",
                        "optional": true,
                        "description": "Preview containing abbreviated property values. Specified for <code>object</code> type values only.",
                        "experimental": true
                    },
                    {
                        "name": "customPreview",
                        "$ref": "CustomPreview",
                        "optional": true,
                        "experimental": true
                    }
                ]
            },
            {
                "id": "PropertyDescriptor",
                "type": "object",
                "description": "Object property descriptor.",
                "properties": [
                    {
                        "name": "name",
                        "type": "string",
                        "description": "Property name or symbol description."
                    },
                    {
                        "name": "value",
                        "$ref": "RemoteObject",
                        "optional": true,
                        "description": "The value associated with the property."
                    },
                    {
                        "name": "writable",
                        "type": "boolean",
                        "optional": true,
                        "description": "True if the value associated with the property may be changed (data descriptors only)."
                    },
                    {
                        "name": "get",
                        "$ref": "RemoteObject",
                        "optional": true,
                        "description": "A function which serves as a getter for the property, or <code>undefined</code> if there is no getter (accessor descriptors only)."
                    },
                    {
                        "name": "set",
                        "$ref": "RemoteObject",
                        "optional": true,
                        "description": "A function which serves as a setter for the property, or <code>undefined</code> if there is no setter (accessor descriptors only)."
                    },
                    {
                        "name": "configurable",
                        "type": "boolean",
                        "description": "True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object."
                    },
                    {
                        "name": "enumerable",
                        "type": "boolean",
                        "description": "True if this property shows up during enumeration of the properties on the corresponding object."
                    },
                    {
                        "name": "wasThrown",
                        "type": "boolean",
                        "optional": true,
                        "description": "True if the result was thrown during the evaluation."
                    },
                    {
                        "name": "isOwn",
                        "optional": true,
                        "type": "boolean",
                        "description": "True if the property is owned for the object."
                    },
                    {
                        "name": "symbol",
                        "$ref": "RemoteObject",
                        "optional": true,
                        "description": "Property symbol object, if the property is of the <code>symbol</code> type."
                    }
                ]
            },
            {
                "id": "InternalPropertyDescriptor",
                "type": "object",
                "description": "Object internal property descriptor. This property isn't normally visible in JavaScript code.",
                "properties": [
                    {
                        "name": "name",
                        "type": "string",
                        "description": "Conventional property name."
                    },
                    {
                        "name": "value",
                        "$ref": "RemoteObject",
                        "optional": true,
                        "description": "The value associated with the property."
                    }
                ]
            },
            {
                "id": "CallArgument",
                "type": "object",
                "description": "Represents function call argument. Either remote object id <code>objectId</code>, primitive <code>value</code>, unserializable primitive value or neither of (for undefined) them should be specified.",
                "properties": [
                    {
                        "name": "value",
                        "type": "any",
                        "optional": true,
                        "description": "Primitive value."
                    },
                    {
                        "name": "unserializableValue",
                        "$ref": "UnserializableValue",
                        "optional": true,
                        "description": "Primitive value which can not be JSON-stringified."
                    },
                    {
                        "name": "objectId",
                        "$ref": "RemoteObjectId",
                        "optional": true,
                        "description": "Remote object handle."
                    }
                ]
            },
            {
                "id": "ExecutionContextId",
                "type": "integer",
                "description": "Id of an execution context."
            },
            {
                "id": "ExecutionContextDescription",
                "type": "object",
                "description": "Description of an isolated world.",
                "properties": [
                    {
                        "name": "id",
                        "$ref": "ExecutionContextId",
                        "description": "Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed."
                    },
                    {
                        "name": "origin",
                        "type": "string",
                        "description": "Execution context origin."
                    },
                    {
                        "name": "name",
                        "type": "string",
                        "description": "Human readable name describing given context."
                    },
                    {
                        "name": "auxData",
                        "type": "object",
                        "optional": true,
                        "description": "Embedder-specific auxiliary data."
                    }
                ]
            },
            {
                "id": "ExceptionDetails",
                "type": "object",
                "description": "Detailed information about exception (or error) that was thrown during script compilation or execution.",
                "properties": [
                    {
                        "name": "exceptionId",
                        "type": "integer",
                        "description": "Exception id."
                    },
                    {
                        "name": "text",
                        "type": "string",
                        "description": "Exception text, which should be used together with exception object when available."
                    },
                    {
                        "name": "lineNumber",
                        "type": "integer",
                        "description": "Line number of the exception location (0-based)."
                    },
                    {
                        "name": "columnNumber",
                        "type": "integer",
                        "description": "Column number of the exception location (0-based)."
                    },
                    {
                        "name": "scriptId",
                        "$ref": "ScriptId",
                        "optional": true,
                        "description": "Script ID of the exception location."
                    },
                    {
                        "name": "url",
                        "type": "string",
                        "optional": true,
                        "description": "URL of the exception location, to be used when the script was not reported."
                    },
                    {
                        "name": "stackTrace",
                        "$ref": "StackTrace",
                        "optional": true,
                        "description": "JavaScript stack trace if available."
                    },
                    {
                        "name": "exception",
                        "$ref": "RemoteObject",
                        "optional": true,
                        "description": "Exception object if available."
                    },
                    {
                        "name": "executionContextId",
                        "$ref": "ExecutionContextId",
                        "optional": true,
                        "description": "Identifier of the context where exception happened."
                    }
                ]
            },
            {
                "id": "Timestamp",
                "type": "number",
                "description": "Number of milliseconds since epoch."
            },
            {
                "id": "CallFrame",
                "type": "object",
                "description": "Stack entry for runtime errors and assertions.",
                "properties": [
                    {
                        "name": "functionName",
                        "type": "string",
                        "description": "JavaScript function name."
                    },
                    {
                        "name": "scriptId",
                        "$ref": "ScriptId",
                        "description": "JavaScript script id."
                    },
                    {
                        "name": "url",
                        "type": "string",
                        "description": "JavaScript script name or url."
                    },
                    {
                        "name": "lineNumber",
                        "type": "integer",
                        "description": "JavaScript script line number (0-based)."
                    },
                    {
                        "name": "columnNumber",
                        "type": "integer",
                        "description": "JavaScript script column number (0-based)."
                    }
                ]
            },
            {
                "id": "StackTrace",
                "type": "object",
                "description": "Call frames for assertions or error messages.",
                "exported": true,
                "properties": [
                    {
                        "name": "description",
                        "type": "string",
                        "optional": true,
                        "description": "String label of this stack trace. For async traces this may be a name of the function that initiated the async call."
                    },
                    {
                        "name": "callFrames",
                        "type": "array",
                        "items": {
                            "$ref": "CallFrame"
                        },
                        "description": "JavaScript function name."
                    },
                    {
                        "name": "parent",
                        "$ref": "StackTrace",
                        "optional": true,
                        "description": "Asynchronous JavaScript stack trace that preceded this stack, if available."
                    }
                ]
            }
        ],
        "commands": [
            {
                "name": "evaluate",
                "async": true,
                "parameters": [
                    {
                        "name": "expression",
                        "type": "string",
                        "description": "Expression to evaluate."
                    },
                    {
                        "name": "objectGroup",
                        "type": "string",
                        "optional": true,
                        "description": "Symbolic group name that can be used to release multiple objects."
                    },
                    {
                        "name": "includeCommandLineAPI",
                        "type": "boolean",
                        "optional": true,
                        "description": "Determines whether Command Line API should be available during the evaluation."
                    },
                    {
                        "name": "silent",
                        "type": "boolean",
                        "optional": true,
                        "description": "In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state."
                    },
                    {
                        "name": "contextId",
                        "$ref": "ExecutionContextId",
                        "optional": true,
                        "description": "Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page."
                    },
                    {
                        "name": "returnByValue",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether the result is expected to be a JSON object that should be sent by value."
                    },
                    {
                        "name": "generatePreview",
                        "type": "boolean",
                        "optional": true,
                        "experimental": true,
                        "description": "Whether preview should be generated for the result."
                    },
                    {
                        "name": "userGesture",
                        "type": "boolean",
                        "optional": true,
                        "experimental": true,
                        "description": "Whether execution should be treated as initiated by user in the UI."
                    },
                    {
                        "name": "awaitPromise",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether execution should wait for promise to be resolved. If the result of evaluation is not a Promise, it's considered to be an error."
                    }
                ],
                "returns": [
                    {
                        "name": "result",
                        "$ref": "RemoteObject",
                        "description": "Evaluation result."
                    },
                    {
                        "name": "exceptionDetails",
                        "$ref": "ExceptionDetails",
                        "optional": true,
                        "description": "Exception details."
                    }
                ],
                "description": "Evaluates expression on global object."
            },
            {
                "name": "awaitPromise",
                "async": true,
                "parameters": [
                    {
                        "name": "promiseObjectId",
                        "$ref": "RemoteObjectId",
                        "description": "Identifier of the promise."
                    },
                    {
                        "name": "returnByValue",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether the result is expected to be a JSON object that should be sent by value."
                    },
                    {
                        "name": "generatePreview",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether preview should be generated for the result."
                    }
                ],
                "returns": [
                    {
                        "name": "result",
                        "$ref": "RemoteObject",
                        "description": "Promise result. Will contain rejected value if promise was rejected."
                    },
                    {
                        "name": "exceptionDetails",
                        "$ref": "ExceptionDetails",
                        "optional": true,
                        "description": "Exception details if stack strace is available."
                    }
                ],
                "description": "Add handler to promise with given promise object id."
            },
            {
                "name": "callFunctionOn",
                "async": true,
                "parameters": [
                    {
                        "name": "objectId",
                        "$ref": "RemoteObjectId",
                        "description": "Identifier of the object to call function on."
                    },
                    {
                        "name": "functionDeclaration",
                        "type": "string",
                        "description": "Declaration of the function to call."
                    },
                    {
                        "name": "arguments",
                        "type": "array",
                        "items": {
                            "$ref": "CallArgument",
                            "description": "Call argument."
                        },
                        "optional": true,
                        "description": "Call arguments. All call arguments must belong to the same JavaScript world as the target object."
                    },
                    {
                        "name": "silent",
                        "type": "boolean",
                        "optional": true,
                        "description": "In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state."
                    },
                    {
                        "name": "returnByValue",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether the result is expected to be a JSON object which should be sent by value."
                    },
                    {
                        "name": "generatePreview",
                        "type": "boolean",
                        "optional": true,
                        "experimental": true,
                        "description": "Whether preview should be generated for the result."
                    },
                    {
                        "name": "userGesture",
                        "type": "boolean",
                        "optional": true,
                        "experimental": true,
                        "description": "Whether execution should be treated as initiated by user in the UI."
                    },
                    {
                        "name": "awaitPromise",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether execution should wait for promise to be resolved. If the result of evaluation is not a Promise, it's considered to be an error."
                    }
                ],
                "returns": [
                    {
                        "name": "result",
                        "$ref": "RemoteObject",
                        "description": "Call result."
                    },
                    {
                        "name": "exceptionDetails",
                        "$ref": "ExceptionDetails",
                        "optional": true,
                        "description": "Exception details."
                    }
                ],
                "description": "Calls function with given declaration on the given object. Object group of the result is inherited from the target object."
            },
            {
                "name": "getProperties",
                "parameters": [
                    {
                        "name": "objectId",
                        "$ref": "RemoteObjectId",
                        "description": "Identifier of the object to return properties for."
                    },
                    {
                        "name": "ownProperties",
                        "optional": true,
                        "type": "boolean",
                        "description": "If true, returns properties belonging only to the element itself, not to its prototype chain."
                    },
                    {
                        "name": "accessorPropertiesOnly",
                        "optional": true,
                        "type": "boolean",
                        "description": "If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.",
                        "experimental": true
                    },
                    {
                        "name": "generatePreview",
                        "type": "boolean",
                        "optional": true,
                        "experimental": true,
                        "description": "Whether preview should be generated for the results."
                    }
                ],
                "returns": [
                    {
                        "name": "result",
                        "type": "array",
                        "items": {
                            "$ref": "PropertyDescriptor"
                        },
                        "description": "Object properties."
                    },
                    {
                        "name": "internalProperties",
                        "optional": true,
                        "type": "array",
                        "items": {
                            "$ref": "InternalPropertyDescriptor"
                        },
                        "description": "Internal object properties (only of the element itself)."
                    },
                    {
                        "name": "exceptionDetails",
                        "$ref": "ExceptionDetails",
                        "optional": true,
                        "description": "Exception details."
                    }
                ],
                "description": "Returns properties of a given object. Object group of the result is inherited from the target object."
            },
            {
                "name": "releaseObject",
                "parameters": [
                    {
                        "name": "objectId",
                        "$ref": "RemoteObjectId",
                        "description": "Identifier of the object to release."
                    }
                ],
                "description": "Releases remote object with given id."
            },
            {
                "name": "releaseObjectGroup",
                "parameters": [
                    {
                        "name": "objectGroup",
                        "type": "string",
                        "description": "Symbolic object group name."
                    }
                ],
                "description": "Releases all remote objects that belong to a given group."
            },
            {
                "name": "runIfWaitingForDebugger",
                "description": "Tells inspected instance to run if it was waiting for debugger to attach."
            },
            {
                "name": "enable",
                "description": "Enables reporting of execution contexts creation by means of <code>executionContextCreated</code> event. When the reporting gets enabled the event will be sent immediately for each existing execution context."
            },
            {
                "name": "disable",
                "description": "Disables reporting of execution contexts creation."
            },
            {
                "name": "discardConsoleEntries",
                "description": "Discards collected exceptions and console API calls."
            },
            {
                "name": "compileScript",
                "parameters": [
                    {
                        "name": "expression",
                        "type": "string",
                        "description": "Expression to compile."
                    },
                    {
                        "name": "sourceURL",
                        "type": "string",
                        "description": "Source url to be set for the script."
                    },
                    {
                        "name": "persistScript",
                        "type": "boolean",
                        "description": "Specifies whether the compiled script should be persisted."
                    },
                    {
                        "name": "executionContextId",
                        "$ref": "ExecutionContextId",
                        "optional": true,
                        "description": "Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page."
                    }
                ],
                "returns": [
                    {
                        "name": "scriptId",
                        "$ref": "ScriptId",
                        "optional": true,
                        "description": "Id of the script."
                    },
                    {
                        "name": "exceptionDetails",
                        "$ref": "ExceptionDetails",
                        "optional": true,
                        "description": "Exception details."
                    }
                ],
                "description": "Compiles expression."
            },
            {
                "name": "runScript",
                "async": true,
                "parameters": [
                    {
                        "name": "scriptId",
                        "$ref": "ScriptId",
                        "description": "Id of the script to run."
                    },
                    {
                        "name": "executionContextId",
                        "$ref": "ExecutionContextId",
                        "optional": true,
                        "description": "Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page."
                    },
                    {
                        "name": "objectGroup",
                        "type": "string",
                        "optional": true,
                        "description": "Symbolic group name that can be used to release multiple objects."
                    },
                    {
                        "name": "silent",
                        "type": "boolean",
                        "optional": true,
                        "description": "In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state."
                    },
                    {
                        "name": "includeCommandLineAPI",
                        "type": "boolean",
                        "optional": true,
                        "description": "Determines whether Command Line API should be available during the evaluation."
                    },
                    {
                        "name": "returnByValue",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether the result is expected to be a JSON object which should be sent by value."
                    },
                    {
                        "name": "generatePreview",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether preview should be generated for the result."
                    },
                    {
                        "name": "awaitPromise",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether execution should wait for promise to be resolved. If the result of evaluation is not a Promise, it's considered to be an error."
                    }
                ],
                "returns": [
                    {
                        "name": "result",
                        "$ref": "RemoteObject",
                        "description": "Run result."
                    },
                    {
                        "name": "exceptionDetails",
                        "$ref": "ExceptionDetails",
                        "optional": true,
                        "description": "Exception details."
                    }
                ],
                "description": "Runs script with given id in a given context."
            }
        ],
        "events": [
            {
                "name": "executionContextCreated",
                "parameters": [
                    {
                        "name": "context",
                        "$ref": "ExecutionContextDescription",
                        "description": "A newly created execution contex."
                    }
                ],
                "description": "Issued when new execution context is created."
            },
            {
                "name": "executionContextDestroyed",
                "parameters": [
                    {
                        "name": "executionContextId",
                        "$ref": "ExecutionContextId",
                        "description": "Id of the destroyed context"
                    }
                ],
                "description": "Issued when execution context is destroyed."
            },
            {
                "name": "executionContextsCleared",
                "description": "Issued when all executionContexts were cleared in browser"
            },
            {
                "name": "exceptionThrown",
                "description": "Issued when exception was thrown and unhandled.",
                "parameters": [
                    {
                        "name": "timestamp",
                        "$ref": "Timestamp",
                        "description": "Timestamp of the exception."
                    },
                    {
                        "name": "exceptionDetails",
                        "$ref": "ExceptionDetails"
                    }
                ]
            },
            {
                "name": "exceptionRevoked",
                "description": "Issued when unhandled exception was revoked.",
                "parameters": [
                    {
                        "name": "reason",
                        "type": "string",
                        "description": "Reason describing why exception was revoked."
                    },
                    {
                        "name": "exceptionId",
                        "type": "integer",
                        "description": "The id of revoked exception, as reported in <code>exceptionUnhandled</code>."
                    }
                ]
            },
            {
                "name": "consoleAPICalled",
                "description": "Issued when console API was called.",
                "parameters": [
                    {
                        "name": "type",
                        "type": "string",
                        "enum": [
                            "log",
                            "debug",
                            "info",
                            "error",
                            "warning",
                            "dir",
                            "dirxml",
                            "table",
                            "trace",
                            "clear",
                            "startGroup",
                            "startGroupCollapsed",
                            "endGroup",
                            "assert",
                            "profile",
                            "profileEnd"
                        ],
                        "description": "Type of the call."
                    },
                    {
                        "name": "args",
                        "type": "array",
                        "items": {
                            "$ref": "RemoteObject"
                        },
                        "description": "Call arguments."
                    },
                    {
                        "name": "executionContextId",
                        "$ref": "ExecutionContextId",
                        "description": "Identifier of the context where the call was made."
                    },
                    {
                        "name": "timestamp",
                        "$ref": "Timestamp",
                        "description": "Call timestamp."
                    },
                    {
                        "name": "stackTrace",
                        "$ref": "StackTrace",
                        "optional": true,
                        "description": "Stack trace captured when the call was made."
                    }
                ]
            },
            {
                "name": "inspectRequested",
                "description": "Issued when object should be inspected (for example, as a result of inspect() command line API call).",
                "parameters": [
                    {
                        "name": "object",
                        "$ref": "RemoteObject"
                    },
                    {
                        "name": "hints",
                        "type": "object"
                    }
                ]
            }
        ]
    },
    {
        "domain": "Debugger",
        "description": "Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing breakpoints, stepping through execution, exploring stack traces, etc.",
        "dependencies": [
            "Runtime"
        ],
        "types": [
            {
                "id": "BreakpointId",
                "type": "string",
                "description": "Breakpoint identifier."
            },
            {
                "id": "CallFrameId",
                "type": "string",
                "description": "Call frame identifier."
            },
            {
                "id": "Location",
                "type": "object",
                "properties": [
                    {
                        "name": "scriptId",
                        "$ref": "Runtime.ScriptId",
                        "description": "Script identifier as reported in the <code>Debugger.scriptParsed</code>."
                    },
                    {
                        "name": "lineNumber",
                        "type": "integer",
                        "description": "Line number in the script (0-based)."
                    },
                    {
                        "name": "columnNumber",
                        "type": "integer",
                        "optional": true,
                        "description": "Column number in the script (0-based)."
                    }
                ],
                "description": "Location in the source code."
            },
            {
                "id": "CallFrame",
                "type": "object",
                "properties": [
                    {
                        "name": "callFrameId",
                        "$ref": "CallFrameId",
                        "description": "Call frame identifier. This identifier is only valid while the virtual machine is paused."
                    },
                    {
                        "name": "functionName",
                        "type": "string",
                        "description": "Name of the JavaScript function called on this call frame."
                    },
                    {
                        "name": "functionLocation",
                        "$ref": "Location",
                        "optional": true,
                        "experimental": true,
                        "description": "Location in the source code."
                    },
                    {
                        "name": "location",
                        "$ref": "Location",
                        "description": "Location in the source code."
                    },
                    {
                        "name": "scopeChain",
                        "type": "array",
                        "items": {
                            "$ref": "Scope"
                        },
                        "description": "Scope chain for this call frame."
                    },
                    {
                        "name": "this",
                        "$ref": "Runtime.RemoteObject",
                        "description": "<code>this</code> object for this call frame."
                    },
                    {
                        "name": "returnValue",
                        "$ref": "Runtime.RemoteObject",
                        "optional": true,
                        "description": "The value being returned, if the function is at return point."
                    }
                ],
                "description": "JavaScript call frame. Array of call frames form the call stack."
            },
            {
                "id": "Scope",
                "type": "object",
                "properties": [
                    {
                        "name": "type",
                        "type": "string",
                        "enum": [
                            "global",
                            "local",
                            "with",
                            "closure",
                            "catch",
                            "block",
                            "script"
                        ],
                        "description": "Scope type."
                    },
                    {
                        "name": "object",
                        "$ref": "Runtime.RemoteObject",
                        "description": "Object representing the scope. For <code>global</code> and <code>with</code> scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties."
                    },
                    {
                        "name": "name",
                        "type": "string",
                        "optional": true
                    },
                    {
                        "name": "startLocation",
                        "$ref": "Location",
                        "optional": true,
                        "description": "Location in the source code where scope starts"
                    },
                    {
                        "name": "endLocation",
                        "$ref": "Location",
                        "optional": true,
                        "description": "Location in the source code where scope ends"
                    }
                ],
                "description": "Scope description."
            }
        ],
        "commands": [
            {
                "name": "enable",
                "description": "Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received."
            },
            {
                "name": "disable",
                "description": "Disables debugger for given page."
            },
            {
                "name": "setBreakpointsActive",
                "parameters": [
                    {
                        "name": "active",
                        "type": "boolean",
                        "description": "New value for breakpoints active state."
                    }
                ],
                "description": "Activates / deactivates all breakpoints on the page."
            },
            {
                "name": "setSkipAllPauses",
                "parameters": [
                    {
                        "name": "skip",
                        "type": "boolean",
                        "description": "New value for skip pauses state."
                    }
                ],
                "description": "Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc)."
            },
            {
                "name": "setBreakpointByUrl",
                "parameters": [
                    {
                        "name": "lineNumber",
                        "type": "integer",
                        "description": "Line number to set breakpoint at."
                    },
                    {
                        "name": "url",
                        "type": "string",
                        "optional": true,
                        "description": "URL of the resources to set breakpoint on."
                    },
                    {
                        "name": "urlRegex",
                        "type": "string",
                        "optional": true,
                        "description": "Regex pattern for the URLs of the resources to set breakpoints on. Either <code>url</code> or <code>urlRegex</code> must be specified."
                    },
                    {
                        "name": "columnNumber",
                        "type": "integer",
                        "optional": true,
                        "description": "Offset in the line to set breakpoint at."
                    },
                    {
                        "name": "condition",
                        "type": "string",
                        "optional": true,
                        "description": "Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true."
                    }
                ],
                "returns": [
                    {
                        "name": "breakpointId",
                        "$ref": "BreakpointId",
                        "description": "Id of the created breakpoint for further reference."
                    },
                    {
                        "name": "locations",
                        "type": "array",
                        "items": {
                            "$ref": "Location"
                        },
                        "description": "List of the locations this breakpoint resolved into upon addition."
                    }
                ],
                "description": "Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in <code>locations</code> property. Further matching script parsing will result in subsequent <code>breakpointResolved</code> events issued. This logical breakpoint will survive page reloads."
            },
            {
                "name": "setBreakpoint",
                "parameters": [
                    {
                        "name": "location",
                        "$ref": "Location",
                        "description": "Location to set breakpoint in."
                    },
                    {
                        "name": "condition",
                        "type": "string",
                        "optional": true,
                        "description": "Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true."
                    }
                ],
                "returns": [
                    {
                        "name": "breakpointId",
                        "$ref": "BreakpointId",
                        "description": "Id of the created breakpoint for further reference."
                    },
                    {
                        "name": "actualLocation",
                        "$ref": "Location",
                        "description": "Location this breakpoint resolved into."
                    }
                ],
                "description": "Sets JavaScript breakpoint at a given location."
            },
            {
                "name": "removeBreakpoint",
                "parameters": [
                    {
                        "name": "breakpointId",
                        "$ref": "BreakpointId"
                    }
                ],
                "description": "Removes JavaScript breakpoint."
            },
            {
                "name": "continueToLocation",
                "parameters": [
                    {
                        "name": "location",
                        "$ref": "Location",
                        "description": "Location to continue to."
                    }
                ],
                "description": "Continues execution until specific location is reached."
            },
            {
                "name": "stepOver",
                "description": "Steps over the statement."
            },
            {
                "name": "stepInto",
                "description": "Steps into the function call."
            },
            {
                "name": "stepOut",
                "description": "Steps out of the function call."
            },
            {
                "name": "pause",
                "description": "Stops on the next JavaScript statement."
            },
            {
                "name": "resume",
                "description": "Resumes JavaScript execution."
            },
            {
                "name": "setScriptSource",
                "parameters": [
                    {
                        "name": "scriptId",
                        "$ref": "Runtime.ScriptId",
                        "description": "Id of the script to edit."
                    },
                    {
                        "name": "scriptSource",
                        "type": "string",
                        "description": "New content of the script."
                    },
                    {
                        "name": "dryRun",
                        "type": "boolean",
                        "optional": true,
                        "description": " If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code."
                    }
                ],
                "returns": [
                    {
                        "name": "callFrames",
                        "type": "array",
                        "optional": true,
                        "items": {
                            "$ref": "CallFrame"
                        },
                        "description": "New stack trace in case editing has happened while VM was stopped."
                    },
                    {
                        "name": "stackChanged",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether current call stack  was modified after applying the changes."
                    },
                    {
                        "name": "asyncStackTrace",
                        "$ref": "Runtime.StackTrace",
                        "optional": true,
                        "description": "Async stack trace, if any."
                    },
                    {
                        "name": "exceptionDetails",
                        "optional": true,
                        "$ref": "Runtime.ExceptionDetails",
                        "description": "Exception details if any."
                    }
                ],
                "description": "Edits JavaScript source live."
            },
            {
                "name": "restartFrame",
                "parameters": [
                    {
                        "name": "callFrameId",
                        "$ref": "CallFrameId",
                        "description": "Call frame identifier to evaluate on."
                    }
                ],
                "returns": [
                    {
                        "name": "callFrames",
                        "type": "array",
                        "items": {
                            "$ref": "CallFrame"
                        },
                        "description": "New stack trace."
                    },
                    {
                        "name": "asyncStackTrace",
                        "$ref": "Runtime.StackTrace",
                        "optional": true,
                        "description": "Async stack trace, if any."
                    }
                ],
                "description": "Restarts particular call frame from the beginning."
            },
            {
                "name": "getScriptSource",
                "parameters": [
                    {
                        "name": "scriptId",
                        "$ref": "Runtime.ScriptId",
                        "description": "Id of the script to get source for."
                    }
                ],
                "returns": [
                    {
                        "name": "scriptSource",
                        "type": "string",
                        "description": "Script source."
                    }
                ],
                "description": "Returns source for the script with given id."
            },
            {
                "name": "setPauseOnExceptions",
                "parameters": [
                    {
                        "name": "state",
                        "type": "string",
                        "enum": [
                            "none",
                            "uncaught",
                            "all"
                        ],
                        "description": "Pause on exceptions mode."
                    }
                ],
                "description": "Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is <code>none</code>."
            },
            {
                "name": "evaluateOnCallFrame",
                "parameters": [
                    {
                        "name": "callFrameId",
                        "$ref": "CallFrameId",
                        "description": "Call frame identifier to evaluate on."
                    },
                    {
                        "name": "expression",
                        "type": "string",
                        "description": "Expression to evaluate."
                    },
                    {
                        "name": "objectGroup",
                        "type": "string",
                        "optional": true,
                        "description": "String object group name to put result into (allows rapid releasing resulting object handles using <code>releaseObjectGroup</code>)."
                    },
                    {
                        "name": "includeCommandLineAPI",
                        "type": "boolean",
                        "optional": true,
                        "description": "Specifies whether command line API should be available to the evaluated expression, defaults to false."
                    },
                    {
                        "name": "silent",
                        "type": "boolean",
                        "optional": true,
                        "description": "In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state."
                    },
                    {
                        "name": "returnByValue",
                        "type": "boolean",
                        "optional": true,
                        "description": "Whether the result is expected to be a JSON object that should be sent by value."
                    },
                    {
                        "name": "generatePreview",
                        "type": "boolean",
                        "optional": true,
                        "experimental": true,
                        "description": "Whether preview should be generated for the result."
                    }
                ],
                "returns": [
                    {
                        "name": "result",
                        "$ref": "Runtime.RemoteObject",
                        "description": "Object wrapper for the evaluation result."
                    },
                    {
                        "name": "exceptionDetails",
                        "$ref": "Runtime.ExceptionDetails",
                        "optional": true,
                        "description": "Exception details."
                    }
                ],
                "description": "Evaluates expression on a given call frame."
            },
            {
                "name": "setVariableValue",
                "parameters": [
                    {
                        "name": "scopeNumber",
                        "type": "integer",
                        "description": "0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch' scope types are allowed. Other scopes could be manipulated manually."
                    },
                    {
                        "name": "variableName",
                        "type": "string",
                        "description": "Variable name."
                    },
                    {
                        "name": "newValue",
                        "$ref": "Runtime.CallArgument",
                        "description": "New variable value."
                    },
                    {
                        "name": "callFrameId",
                        "$ref": "CallFrameId",
                        "description": "Id of callframe that holds variable."
                    }
                ],
                "description": "Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually."
            },
            {
                "name": "setAsyncCallStackDepth",
                "parameters": [
                    {
                        "name": "maxDepth",
                        "type": "integer",
                        "description": "Maximum depth of async call stacks. Setting to <code>0</code> will effectively disable collecting async call stacks (default)."
                    }
                ],
                "description": "Enables or disables async call stacks tracking."
            }
        ],
        "events": [
            {
                "name": "scriptParsed",
                "parameters": [
                    {
                        "name": "scriptId",
                        "$ref": "Runtime.ScriptId",
                        "description": "Identifier of the script parsed."
                    },
                    {
                        "name": "url",
                        "type": "string",
                        "description": "URL or name of the script parsed (if any)."
                    },
                    {
                        "name": "startLine",
                        "type": "integer",
                        "description": "Line offset of the script within the resource with given URL (for script tags)."
                    },
                    {
                        "name": "startColumn",
                        "type": "integer",
                        "description": "Column offset of the script within the resource with given URL."
                    },
                    {
                        "name": "endLine",
                        "type": "integer",
                        "description": "Last line of the script."
                    },
                    {
                        "name": "endColumn",
                        "type": "integer",
                        "description": "Length of the last line of the script."
                    },
                    {
                        "name": "executionContextId",
                        "$ref": "Runtime.ExecutionContextId",
                        "description": "Specifies script creation context."
                    },
                    {
                        "name": "hash",
                        "type": "string",
                        "description": "Content hash of the script."
                    },
                    {
                        "name": "executionContextAuxData",
                        "type": "object",
                        "optional": true,
                        "description": "Embedder-specific auxiliary data."
                    },
                    {
                        "name": "isLiveEdit",
                        "type": "boolean",
                        "optional": true,
                        "description": "True, if this script is generated as a result of the live edit operation.",
                        "experimental": true
                    },
                    {
                        "name": "sourceMapURL",
                        "type": "string",
                        "optional": true,
                        "description": "URL of source map associated with script (if any)."
                    },
                    {
                        "name": "hasSourceURL",
                        "type": "boolean",
                        "optional": true,
                        "description": "True, if this script has sourceURL.",
                        "experimental": true
                    }
                ],
                "description": "Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger."
            },
            {
                "name": "scriptFailedToParse",
                "parameters": [
                    {
                        "name": "scriptId",
                        "$ref": "Runtime.ScriptId",
                        "description": "Identifier of the script parsed."
                    },
                    {
                        "name": "url",
                        "type": "string",
                        "description": "URL or name of the script parsed (if any)."
                    },
                    {
                        "name": "startLine",
                        "type": "integer",
                        "description": "Line offset of the script within the resource with given URL (for script tags)."
                    },
                    {
                        "name": "startColumn",
                        "type": "integer",
                        "description": "Column offset of the script within the resource with given URL."
                    },
                    {
                        "name": "endLine",
                        "type": "integer",
                        "description": "Last line of the script."
                    },
                    {
                        "name": "endColumn",
                        "type": "integer",
                        "description": "Length of the last line of the script."
                    },
                    {
                        "name": "executionContextId",
                        "$ref": "Runtime.ExecutionContextId",
                        "description": "Specifies script creation context."
                    },
                    {
                        "name": "hash",
                        "type": "string",
                        "description": "Content hash of the script."
                    },
                    {
                        "name": "executionContextAuxData",
                        "type": "object",
                        "optional": true,
                        "description": "Embedder-specific auxiliary data."
                    },
                    {
                        "name": "sourceMapURL",
                        "type": "string",
                        "optional": true,
                        "description": "URL of source map associated with script (if any)."
                    },
                    {
                        "name": "hasSourceURL",
                        "type": "boolean",
                        "optional": true,
                        "description": "True, if this script has sourceURL.",
                        "experimental": true
                    }
                ],
                "description": "Fired when virtual machine fails to parse the script."
            },
            {
                "name": "breakpointResolved",
                "parameters": [
                    {
                        "name": "breakpointId",
                        "$ref": "BreakpointId",
                        "description": "Breakpoint unique identifier."
                    },
                    {
                        "name": "location",
                        "$ref": "Location",
                        "description": "Actual breakpoint location."
                    }
                ],
                "description": "Fired when breakpoint is resolved to an actual script and location."
            },
            {
                "name": "paused",
                "parameters": [
                    {
                        "name": "callFrames",
                        "type": "array",
                        "items": {
                            "$ref": "CallFrame"
                        },
                        "description": "Call stack the virtual machine stopped on."
                    },
                    {
                        "name": "reason",
                        "type": "string",
                        "enum": [
                            "XHR",
                            "DOM",
                            "EventListener",
                            "exception",
                            "assert",
                            "debugCommand",
                            "promiseRejection",
                            "other"
                        ],
                        "description": "Pause reason.",
                        "exported": true
                    },
                    {
                        "name": "data",
                        "type": "object",
                        "optional": true,
                        "description": "Object containing break-specific auxiliary properties."
                    },
                    {
                        "name": "hitBreakpoints",
                        "type": "array",
                        "optional": true,
                        "items": {
                            "type": "string"
                        },
                        "description": "Hit breakpoints IDs"
                    },
                    {
                        "name": "asyncStackTrace",
                        "$ref": "Runtime.StackTrace",
                        "optional": true,
                        "description": "Async stack trace, if any."
                    }
                ],
                "description": "Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria."
            },
            {
                "name": "resumed",
                "description": "Fired when the virtual machine resumed execution."
            }
        ]
    },
    {
        "domain": "Profiler",
        "dependencies": [
            "Runtime",
            "Debugger"
        ],
        "types": [
            {
                "id": "ProfileNode",
                "type": "object",
                "description": "Profile node. Holds callsite information, execution statistics and child nodes.",
                "properties": [
                    {
                        "name": "id",
                        "type": "integer",
                        "description": "Unique id of the node."
                    },
                    {
                        "name": "callFrame",
                        "$ref": "Runtime.CallFrame",
                        "description": "Function location."
                    },
                    {
                        "name": "hitCount",
                        "type": "integer",
                        "optional": true,
                        "experimental": true,
                        "description": "Number of samples where this node was on top of the call stack."
                    },
                    {
                        "name": "children",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "optional": true,
                        "description": "Child node ids."
                    },
                    {
                        "name": "deoptReason",
                        "type": "string",
                        "optional": true,
                        "description": "The reason of being not optimized. The function may be deoptimized or marked as don't optimize."
                    },
                    {
                        "name": "positionTicks",
                        "type": "array",
                        "items": {
                            "$ref": "PositionTickInfo"
                        },
                        "optional": true,
                        "experimental": true,
                        "description": "An array of source position ticks."
                    }
                ]
            },
            {
                "id": "Profile",
                "type": "object",
                "description": "Profile.",
                "properties": [
                    {
                        "name": "nodes",
                        "type": "array",
                        "items": {
                            "$ref": "ProfileNode"
                        },
                        "description": "The list of profile nodes. First item is the root node."
                    },
                    {
                        "name": "startTime",
                        "type": "number",
                        "description": "Profiling start timestamp in microseconds."
                    },
                    {
                        "name": "endTime",
                        "type": "number",
                        "description": "Profiling end timestamp in microseconds."
                    },
                    {
                        "name": "samples",
                        "optional": true,
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "description": "Ids of samples top nodes."
                    },
                    {
                        "name": "timeDeltas",
                        "optional": true,
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "description": "Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime."
                    }
                ]
            }
        ],
        "commands": [
            {
                "name": "enable"
            },
            {
                "name": "disable"
            },
            {
                "name": "setSamplingInterval",
                "parameters": [
                    {
                        "name": "interval",
                        "type": "integer",
                        "description": "New sampling interval in microseconds."
                    }
                ],
                "description": "Changes CPU profiler sampling interval. Must be called before CPU profiles recording started."
            },
            {
                "name": "start"
            },
            {
                "name": "stop",
                "returns": [
                    {
                        "name": "profile",
                        "$ref": "Profile",
                        "description": "Recorded profile."
                    }
                ]
            }
        ],
        "events": [
            {
                "name": "consoleProfileStarted",
                "parameters": [
                    {
                        "name": "id",
                        "type": "string"
                    },
                    {
                        "name": "location",
                        "$ref": "Debugger.Location",
                        "description": "Location of console.profile()."
                    },
                    {
                        "name": "title",
                        "type": "string",
                        "optional": true,
                        "description": "Profile title passed as an argument to console.profile()."
                    }
                ],
                "description": "Sent when new profile recodring is started using console.profile() call."
            },
            {
                "name": "consoleProfileFinished",
                "parameters": [
                    {
                        "name": "id",
                        "type": "string"
                    },
                    {
                        "name": "location",
                        "$ref": "Debugger.Location",
                        "description": "Location of console.profileEnd()."
                    },
                    {
                        "name": "profile",
                        "$ref": "Profile"
                    },
                    {
                        "name": "title",
                        "type": "string",
                        "optional": true,
                        "description": "Profile title passed as an argument to console.profile()."
                    }
                ]
            }
        ]
    }
  ]
}
