diff --git a/packages/debugger-frontend/BUILD_INFO b/packages/debugger-frontend/BUILD_INFO index a399a20d0f9c2c..9b2c8c53efefb4 100644 --- a/packages/debugger-frontend/BUILD_INFO +++ b/packages/debugger-frontend/BUILD_INFO @@ -1,5 +1,5 @@ -@generated SignedSource<> -Git revision: 7cd81c1548a4bca19732037dcf82662a6ed9ca39 +@generated SignedSource<<10d091511a2e58cd188e5d3e7939afd8>> +Git revision: 601b2724b9f765e413b4ccc15d972f5a28fd4f4d Built with --nohooks: false Is local checkout: false Remote URL: https://github.com/facebookexperimental/rn-chrome-devtools-frontend diff --git a/packages/debugger-frontend/dist/third-party/front_end/core/protocol_client/protocol_client.js b/packages/debugger-frontend/dist/third-party/front_end/core/protocol_client/protocol_client.js index 6dd7693dffe7ad..8385fbbe2534b6 100644 --- a/packages/debugger-frontend/dist/third-party/front_end/core/protocol_client/protocol_client.js +++ b/packages/debugger-frontend/dist/third-party/front_end/core/protocol_client/protocol_client.js @@ -1 +1 @@ -import*as e from"../common/common.js";import*as t from"../host/host.js";class n{static patch(i){!function i(o,r){o.url&&n.isPlatformPath(o.url,t.Platform.isWin())&&(o.url=e.ParsedURL.ParsedURL.rawPathToUrlString(o.url));for(const e of Object.entries(o)){const t=e[0],n=e[1],o=r+"."+t;".result.result.value"!==o&&null!==n&&"object"==typeof n&&i(n,o)}}(i,"")}static isPlatformPath(e,t){if(t){return/^([a-z]:[\/\\]|\\\\)/i.test(e)}return!!e.length&&"/"===e[0]}}var i=Object.freeze({__proto__:null,NodeURL:n});const o=-32015,r=-32e3,a=-32001,s=e=>{const[t,n]=e.split(".");return[t,n]},p=(e,t)=>`${e}.${t}`;class l{agentPrototypes=new Map;#e=!1;#t=new Map;typeMap=new Map;enumMap=new Map;getOrCreateEventParameterNamesForDomain(e){let t=this.#t.get(e);return t||(t=new Map,this.#t.set(e,t)),t}getOrCreateEventParameterNamesForDomainForTesting(e){return this.getOrCreateEventParameterNamesForDomain(e)}getEventParameterNames(){return this.#t}static reportProtocolError(e,t){console.error(e+": "+JSON.stringify(t))}static reportProtocolWarning(e,t){console.warn(e+": "+JSON.stringify(t))}isInitialized(){return this.#e}agentPrototype(e){let t=this.agentPrototypes.get(e);return t||(t=new y(e),this.agentPrototypes.set(e,t)),t}registerCommand(e,t,n,i){const[o,r]=s(e);this.agentPrototype(o).registerCommand(r,t,n,i),this.#e=!0}registerEnum(e,t){const[n,i]=s(e);globalThis.Protocol[n]||(globalThis.Protocol[n]={}),globalThis.Protocol[n][i]=t,this.enumMap.set(e,t),this.#e=!0}registerType(e,t){this.typeMap.set(e,t),this.#e=!0}registerEvent(e,t){const n=e.split(".")[0];this.getOrCreateEventParameterNamesForDomain(n).set(e,t),this.#e=!0}}let d;const c={dumpProtocol:null,deprecatedRunAfterPendingDispatches:null,sendRawMessage:null,suppressRequestErrors:!1,onMessageSent:null,onMessageReceived:null},u=new Set(["CSS.takeComputedStyleUpdates"]);class m{#n;#i;#o;#r;#a;#s;constructor(e){this.#n=e,this.#i=1,this.#o=0,this.#r=new Set,this.#a=new Map,this.#s=[],c.deprecatedRunAfterPendingDispatches=this.deprecatedRunAfterPendingDispatches.bind(this),c.sendRawMessage=this.sendRawMessageForTesting.bind(this),this.#n.setOnMessage(this.onMessage.bind(this)),this.#n.setOnDisconnect((e=>{const t=this.#a.get("");t&&t.target.dispose(e)}))}registerSession(e,t,n){if(n)for(const e of this.#a.values())if(e.proxyConnection){console.error("Multiple simultaneous proxy connections are currently unsupported");break}this.#a.set(t,{target:e,callbacks:new Map,proxyConnection:n})}unregisterSession(e){const t=this.#a.get(e);if(t){for(const e of t.callbacks.values())m.dispatchUnregisterSessionError(e);this.#a.delete(e)}}getTargetBySessionId(e){const t=this.#a.get(e||"");return t?t.target:null}nextMessageId(){return this.#i++}connection(){return this.#n}sendMessage(e,t,n,i,o){const r=this.nextMessageId(),a={id:r,method:n};if(i&&(a.params=i),e&&(a.sessionId=e),c.dumpProtocol&&c.dumpProtocol("frontend: "+JSON.stringify(a)),c.onMessageSent){const o=JSON.parse(JSON.stringify(i||{}));c.onMessageSent({domain:t,method:n,params:o,id:r,sessionId:e},this.getTargetBySessionId(e))}++this.#o,u.has(n)&&this.#r.add(r);const s=this.#a.get(e);s&&(s.callbacks.set(r,{callback:o,method:n}),this.#n.sendRawMessage(JSON.stringify(a)))}sendRawMessageForTesting(e,t,n,i=""){const o=e.split(".")[0];this.sendMessage(i,o,e,t,n||(()=>{}))}onMessage(e){if(c.dumpProtocol&&c.dumpProtocol("backend: "+("string"==typeof e?e:JSON.stringify(e))),c.onMessageReceived){const t=JSON.parse("string"==typeof e?e:JSON.stringify(e));c.onMessageReceived(t,this.getTargetBySessionId(t.sessionId))}const t="string"==typeof e?JSON.parse(e):e;let i=!1;for(const e of this.#a.values())e.proxyConnection&&(e.proxyConnection.onMessage?(e.proxyConnection.onMessage(t),i=!0):l.reportProtocolError("Protocol Error: the session has a proxyConnection with no _onMessage",t));const o=t.sessionId||"",r=this.#a.get(o);if(r){if(!r.proxyConnection)if(r.target.getNeedsNodeJSPatching()&&n.patch(t),void 0!==t.id){const e=r.callbacks.get(t.id);if(r.callbacks.delete(t.id),!e){if(t.error?.code===a)return;return void(i||l.reportProtocolError("Protocol Error: the message with wrong id",t))}e.callback(t.error||null,t.result||null),--this.#o,this.#r.delete(t.id),this.#s.length&&!this.hasOutstandingNonLongPollingRequests()&&this.deprecatedRunAfterPendingDispatches()}else{if(void 0===t.method)return void l.reportProtocolError("Protocol Error: the message without method",t);const e=t;r.target.dispatch(e)}}else i||l.reportProtocolError("Protocol Error: the message with wrong session id",t)}hasOutstandingNonLongPollingRequests(){return this.#o-this.#r.size>0}deprecatedRunAfterPendingDispatches(e){e&&this.#s.push(e),window.setTimeout((()=>{this.hasOutstandingNonLongPollingRequests()?this.deprecatedRunAfterPendingDispatches():this.executeAfterPendingDispatches()}),0)}executeAfterPendingDispatches(){if(!this.hasOutstandingNonLongPollingRequests()){const e=this.#s;this.#s=[];for(let t=0;te(n,null)),0)}static dispatchUnregisterSessionError({callback:e,method:t}){const n={message:`Session is unregistering, can't dispatch pending call to ${t}`,code:a,data:null};window.setTimeout((()=>e(n,null)),0)}}class y{replyArgs;description="";metadata;domain;target;constructor(e){this.replyArgs={},this.domain=e,this.metadata={}}registerCommand(e,t,n,i){const o=p(this.domain,e);this[e]=function(...e){return y.prototype.sendMessageToBackendPromise.call(this,o,t,e)},this.metadata[o]={parameters:t,description:i,replyArgs:n},this["invoke_"+e]=function(e={}){return this.invoke(o,e)},this.replyArgs[o]=n}prepareParameters(e,t,n,i){const o={};let r=!1;for(const a of t){const s=a.name,p=a.type,l=a.optional;if(!n.length&&!l)return i(`Protocol Error: Invalid number of arguments for method '${e}' call. It must have the following arguments ${JSON.stringify(t)}'.`),null;const d=n.shift();if(l&&void 0===d)continue;if(typeof d!==("array"===p?"object":p))return i(`Protocol Error: Invalid type of argument '${s}' for method '${e}' call. It must be '${p}' but it is '${typeof d}'.`),null;o[s]=d,r=!0}return n.length?(i(`Protocol Error: Extra ${n.length} arguments in a call to method '${e}'.`),null):r?o:null}sendMessageToBackendPromise(e,t,n){let i;const s=this.prepareParameters(e,t,n,(function(e){console.error(e),i=e}));return i?Promise.resolve(null):new Promise((t=>{const n=(n,i)=>{if(n)return c.suppressRequestErrors||n.code===o||n.code===r||n.code===a||console.error("Request "+e+" failed. "+JSON.stringify(n)),void t(null);const s=this.replyArgs[e];t(i&&s.length?i[s[0]]:void 0)},i=this.target.router();i?i.sendMessage(this.target.sessionId,this.domain,e,s,n):m.dispatchConnectionError(n,e)}))}invoke(e,t){return new Promise((n=>{const i=(t,i)=>{t&&!c.suppressRequestErrors&&t.code!==o&&t.code!==r&&t.code!==a&&console.error("Request "+e+" failed. "+JSON.stringify(t));const s=t?.message;n({...i,getError:()=>s})},s=this.target.router();s?s.sendMessage(this.target.sessionId,this.domain,e,t,i):m.dispatchConnectionError(i,e)}))}}class g{#p;#l=[];constructor(e){this.#p=e}addDomainDispatcher(e){this.#l.push(e)}removeDomainDispatcher(e){const t=this.#l.indexOf(e);-1!==t&&this.#l.splice(t,1)}dispatch(e,t){if(!this.#l.length)return;if(!this.#p.has(t.method))return void l.reportProtocolWarning(`Protocol Warning: Attempted to dispatch an unspecified event '${t.method}'`,t);const n={...t.params};for(let t=0;t` element.",typeRef:"Accessibility.AXValueNativeSourceType"},{name:"nativeSourceValue",type:"object",optional:!0,description:"The value, such as a node or node list, of the native source.",typeRef:"Accessibility.AXValue"},{name:"invalid",type:"boolean",optional:!0,description:"Whether the value for this property is invalid.",typeRef:null},{name:"invalidReason",type:"string",optional:!0,description:"Reason for the value being invalid, if it is.",typeRef:null}]),e.registerType("Accessibility.AXRelatedNode",[{name:"backendDOMNodeId",type:"number",optional:!1,description:"The BackendNodeId of the related DOM node.",typeRef:"DOM.BackendNodeId"},{name:"idref",type:"string",optional:!0,description:"The IDRef value provided, if any.",typeRef:null},{name:"text",type:"string",optional:!0,description:"The text alternative of this node in the current context.",typeRef:null}]),e.registerType("Accessibility.AXProperty",[{name:"name",type:"string",optional:!1,description:"The name of this property.",typeRef:"Accessibility.AXPropertyName"},{name:"value",type:"object",optional:!1,description:"The value of this property.",typeRef:"Accessibility.AXValue"}]),e.registerType("Accessibility.AXValue",[{name:"type",type:"string",optional:!1,description:"The type of this value.",typeRef:"Accessibility.AXValueType"},{name:"value",type:"any",optional:!0,description:"The computed value of this property.",typeRef:null},{name:"relatedNodes",type:"array",optional:!0,description:"One or more related nodes, if applicable.",typeRef:"Accessibility.AXRelatedNode"},{name:"sources",type:"array",optional:!0,description:"The sources which contributed to the computation of this property.",typeRef:"Accessibility.AXValueSource"}]),e.registerType("Accessibility.AXNode",[{name:"nodeId",type:"string",optional:!1,description:"Unique identifier for this node.",typeRef:"Accessibility.AXNodeId"},{name:"ignored",type:"boolean",optional:!1,description:"Whether this node is ignored for accessibility",typeRef:null},{name:"ignoredReasons",type:"array",optional:!0,description:"Collection of reasons why this node is hidden.",typeRef:"Accessibility.AXProperty"},{name:"role",type:"object",optional:!0,description:"This `Node`'s role, whether explicit or implicit.",typeRef:"Accessibility.AXValue"},{name:"chromeRole",type:"object",optional:!0,description:"This `Node`'s Chrome raw role.",typeRef:"Accessibility.AXValue"},{name:"name",type:"object",optional:!0,description:"The accessible name for this `Node`.",typeRef:"Accessibility.AXValue"},{name:"description",type:"object",optional:!0,description:"The accessible description for this `Node`.",typeRef:"Accessibility.AXValue"},{name:"value",type:"object",optional:!0,description:"The value for this `Node`.",typeRef:"Accessibility.AXValue"},{name:"properties",type:"array",optional:!0,description:"All other properties",typeRef:"Accessibility.AXProperty"},{name:"parentId",type:"string",optional:!0,description:"ID for this node's parent.",typeRef:"Accessibility.AXNodeId"},{name:"childIds",type:"array",optional:!0,description:"IDs for each of this node's child nodes.",typeRef:"Accessibility.AXNodeId"},{name:"backendDOMNodeId",type:"number",optional:!0,description:"The backend ID for the associated DOM node, if any.",typeRef:"DOM.BackendNodeId"},{name:"frameId",type:"string",optional:!0,description:"The frame ID for the frame associated with this nodes document.",typeRef:"Page.FrameId"}]),e.registerEnum("Animation.AnimationType",{CSSTransition:"CSSTransition",CSSAnimation:"CSSAnimation",WebAnimation:"WebAnimation"}),e.registerEvent("Animation.animationCanceled",["id"]),e.registerEvent("Animation.animationCreated",["id"]),e.registerEvent("Animation.animationStarted",["animation"]),e.registerCommand("Animation.disable",[],[],"Disables animation domain notifications."),e.registerCommand("Animation.enable",[],[],"Enables animation domain notifications."),e.registerCommand("Animation.getCurrentTime",[{name:"id",type:"string",optional:!1,description:"Id of animation.",typeRef:null}],["currentTime"],"Returns the current time of the an animation."),e.registerCommand("Animation.getPlaybackRate",[],["playbackRate"],"Gets the playback rate of the document timeline."),e.registerCommand("Animation.releaseAnimations",[{name:"animations",type:"array",optional:!1,description:"List of animation ids to seek.",typeRef:"string"}],[],"Releases a set of animations to no longer be manipulated."),e.registerCommand("Animation.resolveAnimation",[{name:"animationId",type:"string",optional:!1,description:"Animation id.",typeRef:null}],["remoteObject"],"Gets the remote object of the Animation."),e.registerCommand("Animation.seekAnimations",[{name:"animations",type:"array",optional:!1,description:"List of animation ids to seek.",typeRef:"string"},{name:"currentTime",type:"number",optional:!1,description:"Set the current time of each animation.",typeRef:null}],[],"Seek a set of animations to a particular time within each animation."),e.registerCommand("Animation.setPaused",[{name:"animations",type:"array",optional:!1,description:"Animations to set the pause state of.",typeRef:"string"},{name:"paused",type:"boolean",optional:!1,description:"Paused state to set to.",typeRef:null}],[],"Sets the paused state of a set of animations."),e.registerCommand("Animation.setPlaybackRate",[{name:"playbackRate",type:"number",optional:!1,description:"Playback rate for animations on page",typeRef:null}],[],"Sets the playback rate of the document timeline."),e.registerCommand("Animation.setTiming",[{name:"animationId",type:"string",optional:!1,description:"Animation id.",typeRef:null},{name:"duration",type:"number",optional:!1,description:"Duration of the animation.",typeRef:null},{name:"delay",type:"number",optional:!1,description:"Delay of the animation.",typeRef:null}],[],"Sets the timing of an animation node."),e.registerType("Animation.Animation",[{name:"id",type:"string",optional:!1,description:"`Animation`'s id.",typeRef:null},{name:"name",type:"string",optional:!1,description:"`Animation`'s name.",typeRef:null},{name:"pausedState",type:"boolean",optional:!1,description:"`Animation`'s internal paused state.",typeRef:null},{name:"playState",type:"string",optional:!1,description:"`Animation`'s play state.",typeRef:null},{name:"playbackRate",type:"number",optional:!1,description:"`Animation`'s playback rate.",typeRef:null},{name:"startTime",type:"number",optional:!1,description:"`Animation`'s start time. Milliseconds for time based animations and percentage [0 - 100] for scroll driven animations (i.e. when viewOrScrollTimeline exists).",typeRef:null},{name:"currentTime",type:"number",optional:!1,description:"`Animation`'s current time.",typeRef:null},{name:"type",type:"string",optional:!1,description:"Animation type of `Animation`.",typeRef:null},{name:"source",type:"object",optional:!0,description:"`Animation`'s source animation node.",typeRef:"Animation.AnimationEffect"},{name:"cssId",type:"string",optional:!0,description:"A unique ID for `Animation` representing the sources that triggered this CSS animation/transition.",typeRef:null},{name:"viewOrScrollTimeline",type:"object",optional:!0,description:"View or scroll timeline",typeRef:"Animation.ViewOrScrollTimeline"}]),e.registerType("Animation.ViewOrScrollTimeline",[{name:"sourceNodeId",type:"number",optional:!0,description:"Scroll container node",typeRef:"DOM.BackendNodeId"},{name:"startOffset",type:"number",optional:!0,description:"Represents the starting scroll position of the timeline as a length offset in pixels from scroll origin.",typeRef:null},{name:"endOffset",type:"number",optional:!0,description:"Represents the ending scroll position of the timeline as a length offset in pixels from scroll origin.",typeRef:null},{name:"subjectNodeId",type:"number",optional:!0,description:"The element whose principal box's visibility in the scrollport defined the progress of the timeline. Does not exist for animations with ScrollTimeline",typeRef:"DOM.BackendNodeId"},{name:"axis",type:"string",optional:!1,description:"Orientation of the scroll",typeRef:"DOM.ScrollOrientation"}]),e.registerType("Animation.AnimationEffect",[{name:"delay",type:"number",optional:!1,description:"`AnimationEffect`'s delay.",typeRef:null},{name:"endDelay",type:"number",optional:!1,description:"`AnimationEffect`'s end delay.",typeRef:null},{name:"iterationStart",type:"number",optional:!1,description:"`AnimationEffect`'s iteration start.",typeRef:null},{name:"iterations",type:"number",optional:!1,description:"`AnimationEffect`'s iterations.",typeRef:null},{name:"duration",type:"number",optional:!1,description:"`AnimationEffect`'s iteration duration. Milliseconds for time based animations and percentage [0 - 100] for scroll driven animations (i.e. when viewOrScrollTimeline exists).",typeRef:null},{name:"direction",type:"string",optional:!1,description:"`AnimationEffect`'s playback direction.",typeRef:null},{name:"fill",type:"string",optional:!1,description:"`AnimationEffect`'s fill mode.",typeRef:null},{name:"backendNodeId",type:"number",optional:!0,description:"`AnimationEffect`'s target node.",typeRef:"DOM.BackendNodeId"},{name:"keyframesRule",type:"object",optional:!0,description:"`AnimationEffect`'s keyframes.",typeRef:"Animation.KeyframesRule"},{name:"easing",type:"string",optional:!1,description:"`AnimationEffect`'s timing function.",typeRef:null}]),e.registerType("Animation.KeyframesRule",[{name:"name",type:"string",optional:!0,description:"CSS keyframed animation's name.",typeRef:null},{name:"keyframes",type:"array",optional:!1,description:"List of animation keyframes.",typeRef:"Animation.KeyframeStyle"}]),e.registerType("Animation.KeyframeStyle",[{name:"offset",type:"string",optional:!1,description:"Keyframe's time offset.",typeRef:null},{name:"easing",type:"string",optional:!1,description:"`AnimationEffect`'s timing function.",typeRef:null}]),e.registerEnum("Audits.CookieExclusionReason",{ExcludeSameSiteUnspecifiedTreatedAsLax:"ExcludeSameSiteUnspecifiedTreatedAsLax",ExcludeSameSiteNoneInsecure:"ExcludeSameSiteNoneInsecure",ExcludeSameSiteLax:"ExcludeSameSiteLax",ExcludeSameSiteStrict:"ExcludeSameSiteStrict",ExcludeInvalidSameParty:"ExcludeInvalidSameParty",ExcludeSamePartyCrossPartyContext:"ExcludeSamePartyCrossPartyContext",ExcludeDomainNonASCII:"ExcludeDomainNonASCII",ExcludeThirdPartyCookieBlockedInFirstPartySet:"ExcludeThirdPartyCookieBlockedInFirstPartySet",ExcludeThirdPartyPhaseout:"ExcludeThirdPartyPhaseout"}),e.registerEnum("Audits.CookieWarningReason",{WarnSameSiteUnspecifiedCrossSiteContext:"WarnSameSiteUnspecifiedCrossSiteContext",WarnSameSiteNoneInsecure:"WarnSameSiteNoneInsecure",WarnSameSiteUnspecifiedLaxAllowUnsafe:"WarnSameSiteUnspecifiedLaxAllowUnsafe",WarnSameSiteStrictLaxDowngradeStrict:"WarnSameSiteStrictLaxDowngradeStrict",WarnSameSiteStrictCrossDowngradeStrict:"WarnSameSiteStrictCrossDowngradeStrict",WarnSameSiteStrictCrossDowngradeLax:"WarnSameSiteStrictCrossDowngradeLax",WarnSameSiteLaxCrossDowngradeStrict:"WarnSameSiteLaxCrossDowngradeStrict",WarnSameSiteLaxCrossDowngradeLax:"WarnSameSiteLaxCrossDowngradeLax",WarnAttributeValueExceedsMaxSize:"WarnAttributeValueExceedsMaxSize",WarnDomainNonASCII:"WarnDomainNonASCII",WarnThirdPartyPhaseout:"WarnThirdPartyPhaseout",WarnCrossSiteRedirectDowngradeChangesInclusion:"WarnCrossSiteRedirectDowngradeChangesInclusion"}),e.registerEnum("Audits.CookieOperation",{SetCookie:"SetCookie",ReadCookie:"ReadCookie"}),e.registerEnum("Audits.MixedContentResolutionStatus",{MixedContentBlocked:"MixedContentBlocked",MixedContentAutomaticallyUpgraded:"MixedContentAutomaticallyUpgraded",MixedContentWarning:"MixedContentWarning"}),e.registerEnum("Audits.MixedContentResourceType",{AttributionSrc:"AttributionSrc",Audio:"Audio",Beacon:"Beacon",CSPReport:"CSPReport",Download:"Download",EventSource:"EventSource",Favicon:"Favicon",Font:"Font",Form:"Form",Frame:"Frame",Image:"Image",Import:"Import",JSON:"JSON",Manifest:"Manifest",Ping:"Ping",PluginData:"PluginData",PluginResource:"PluginResource",Prefetch:"Prefetch",Resource:"Resource",Script:"Script",ServiceWorker:"ServiceWorker",SharedWorker:"SharedWorker",SpeculationRules:"SpeculationRules",Stylesheet:"Stylesheet",Track:"Track",Video:"Video",Worker:"Worker",XMLHttpRequest:"XMLHttpRequest",XSLT:"XSLT"}),e.registerEnum("Audits.BlockedByResponseReason",{CoepFrameResourceNeedsCoepHeader:"CoepFrameResourceNeedsCoepHeader",CoopSandboxedIFrameCannotNavigateToCoopPage:"CoopSandboxedIFrameCannotNavigateToCoopPage",CorpNotSameOrigin:"CorpNotSameOrigin",CorpNotSameOriginAfterDefaultedToSameOriginByCoep:"CorpNotSameOriginAfterDefaultedToSameOriginByCoep",CorpNotSameSite:"CorpNotSameSite"}),e.registerEnum("Audits.HeavyAdResolutionStatus",{HeavyAdBlocked:"HeavyAdBlocked",HeavyAdWarning:"HeavyAdWarning"}),e.registerEnum("Audits.HeavyAdReason",{NetworkTotalLimit:"NetworkTotalLimit",CpuTotalLimit:"CpuTotalLimit",CpuPeakLimit:"CpuPeakLimit"}),e.registerEnum("Audits.ContentSecurityPolicyViolationType",{KInlineViolation:"kInlineViolation",KEvalViolation:"kEvalViolation",KURLViolation:"kURLViolation",KTrustedTypesSinkViolation:"kTrustedTypesSinkViolation",KTrustedTypesPolicyViolation:"kTrustedTypesPolicyViolation",KWasmEvalViolation:"kWasmEvalViolation"}),e.registerEnum("Audits.SharedArrayBufferIssueType",{TransferIssue:"TransferIssue",CreationIssue:"CreationIssue"}),e.registerEnum("Audits.AttributionReportingIssueType",{PermissionPolicyDisabled:"PermissionPolicyDisabled",UntrustworthyReportingOrigin:"UntrustworthyReportingOrigin",InsecureContext:"InsecureContext",InvalidHeader:"InvalidHeader",InvalidRegisterTriggerHeader:"InvalidRegisterTriggerHeader",SourceAndTriggerHeaders:"SourceAndTriggerHeaders",SourceIgnored:"SourceIgnored",TriggerIgnored:"TriggerIgnored",OsSourceIgnored:"OsSourceIgnored",OsTriggerIgnored:"OsTriggerIgnored",InvalidRegisterOsSourceHeader:"InvalidRegisterOsSourceHeader",InvalidRegisterOsTriggerHeader:"InvalidRegisterOsTriggerHeader",WebAndOsHeaders:"WebAndOsHeaders",NoWebOrOsSupport:"NoWebOrOsSupport",NavigationRegistrationWithoutTransientUserActivation:"NavigationRegistrationWithoutTransientUserActivation",InvalidInfoHeader:"InvalidInfoHeader",NoRegisterSourceHeader:"NoRegisterSourceHeader",NoRegisterTriggerHeader:"NoRegisterTriggerHeader",NoRegisterOsSourceHeader:"NoRegisterOsSourceHeader",NoRegisterOsTriggerHeader:"NoRegisterOsTriggerHeader"}),e.registerEnum("Audits.GenericIssueErrorType",{CrossOriginPortalPostMessageError:"CrossOriginPortalPostMessageError",FormLabelForNameError:"FormLabelForNameError",FormDuplicateIdForInputError:"FormDuplicateIdForInputError",FormInputWithNoLabelError:"FormInputWithNoLabelError",FormAutocompleteAttributeEmptyError:"FormAutocompleteAttributeEmptyError",FormEmptyIdAndNameAttributesForInputError:"FormEmptyIdAndNameAttributesForInputError",FormAriaLabelledByToNonExistingId:"FormAriaLabelledByToNonExistingId",FormInputAssignedAutocompleteValueToIdOrNameAttributeError:"FormInputAssignedAutocompleteValueToIdOrNameAttributeError",FormLabelHasNeitherForNorNestedInput:"FormLabelHasNeitherForNorNestedInput",FormLabelForMatchesNonExistingIdError:"FormLabelForMatchesNonExistingIdError",FormInputHasWrongButWellIntendedAutocompleteValueError:"FormInputHasWrongButWellIntendedAutocompleteValueError",ResponseWasBlockedByORB:"ResponseWasBlockedByORB"}),e.registerEnum("Audits.ClientHintIssueReason",{MetaTagAllowListInvalidOrigin:"MetaTagAllowListInvalidOrigin",MetaTagModifiedHTML:"MetaTagModifiedHTML"}),e.registerEnum("Audits.FederatedAuthRequestIssueReason",{ShouldEmbargo:"ShouldEmbargo",TooManyRequests:"TooManyRequests",WellKnownHttpNotFound:"WellKnownHttpNotFound",WellKnownNoResponse:"WellKnownNoResponse",WellKnownInvalidResponse:"WellKnownInvalidResponse",WellKnownListEmpty:"WellKnownListEmpty",WellKnownInvalidContentType:"WellKnownInvalidContentType",ConfigNotInWellKnown:"ConfigNotInWellKnown",WellKnownTooBig:"WellKnownTooBig",ConfigHttpNotFound:"ConfigHttpNotFound",ConfigNoResponse:"ConfigNoResponse",ConfigInvalidResponse:"ConfigInvalidResponse",ConfigInvalidContentType:"ConfigInvalidContentType",ClientMetadataHttpNotFound:"ClientMetadataHttpNotFound",ClientMetadataNoResponse:"ClientMetadataNoResponse",ClientMetadataInvalidResponse:"ClientMetadataInvalidResponse",ClientMetadataInvalidContentType:"ClientMetadataInvalidContentType",DisabledInSettings:"DisabledInSettings",ErrorFetchingSignin:"ErrorFetchingSignin",InvalidSigninResponse:"InvalidSigninResponse",AccountsHttpNotFound:"AccountsHttpNotFound",AccountsNoResponse:"AccountsNoResponse",AccountsInvalidResponse:"AccountsInvalidResponse",AccountsListEmpty:"AccountsListEmpty",AccountsInvalidContentType:"AccountsInvalidContentType",IdTokenHttpNotFound:"IdTokenHttpNotFound",IdTokenNoResponse:"IdTokenNoResponse",IdTokenInvalidResponse:"IdTokenInvalidResponse",IdTokenIdpErrorResponse:"IdTokenIdpErrorResponse",IdTokenCrossSiteIdpErrorResponse:"IdTokenCrossSiteIdpErrorResponse",IdTokenInvalidRequest:"IdTokenInvalidRequest",IdTokenInvalidContentType:"IdTokenInvalidContentType",ErrorIdToken:"ErrorIdToken",Canceled:"Canceled",RpPageNotVisible:"RpPageNotVisible",SilentMediationFailure:"SilentMediationFailure",ThirdPartyCookiesBlocked:"ThirdPartyCookiesBlocked",NotSignedInWithIdp:"NotSignedInWithIdp"}),e.registerEnum("Audits.FederatedAuthUserInfoRequestIssueReason",{NotSameOrigin:"NotSameOrigin",NotIframe:"NotIframe",NotPotentiallyTrustworthy:"NotPotentiallyTrustworthy",NoAPIPermission:"NoApiPermission",NotSignedInWithIdp:"NotSignedInWithIdp",NoAccountSharingPermission:"NoAccountSharingPermission",InvalidConfigOrWellKnown:"InvalidConfigOrWellKnown",InvalidAccountsResponse:"InvalidAccountsResponse",NoReturningUserFromFetchedAccounts:"NoReturningUserFromFetchedAccounts"}),e.registerEnum("Audits.StyleSheetLoadingIssueReason",{LateImportRule:"LateImportRule",RequestFailed:"RequestFailed"}),e.registerEnum("Audits.PropertyRuleIssueReason",{InvalidSyntax:"InvalidSyntax",InvalidInitialValue:"InvalidInitialValue",InvalidInherits:"InvalidInherits",InvalidName:"InvalidName"}),e.registerEnum("Audits.InspectorIssueCode",{CookieIssue:"CookieIssue",MixedContentIssue:"MixedContentIssue",BlockedByResponseIssue:"BlockedByResponseIssue",HeavyAdIssue:"HeavyAdIssue",ContentSecurityPolicyIssue:"ContentSecurityPolicyIssue",SharedArrayBufferIssue:"SharedArrayBufferIssue",LowTextContrastIssue:"LowTextContrastIssue",CorsIssue:"CorsIssue",AttributionReportingIssue:"AttributionReportingIssue",QuirksModeIssue:"QuirksModeIssue",NavigatorUserAgentIssue:"NavigatorUserAgentIssue",GenericIssue:"GenericIssue",DeprecationIssue:"DeprecationIssue",ClientHintIssue:"ClientHintIssue",FederatedAuthRequestIssue:"FederatedAuthRequestIssue",BounceTrackingIssue:"BounceTrackingIssue",CookieDeprecationMetadataIssue:"CookieDeprecationMetadataIssue",StylesheetLoadingIssue:"StylesheetLoadingIssue",FederatedAuthUserInfoRequestIssue:"FederatedAuthUserInfoRequestIssue",PropertyRuleIssue:"PropertyRuleIssue"}),e.registerEvent("Audits.issueAdded",["issue"]),e.registerEnum("Audits.GetEncodedResponseRequestEncoding",{Webp:"webp",Jpeg:"jpeg",Png:"png"}),e.registerCommand("Audits.getEncodedResponse",[{name:"requestId",type:"string",optional:!1,description:"Identifier of the network request to get content for.",typeRef:"Network.RequestId"},{name:"encoding",type:"string",optional:!1,description:"The encoding to use.",typeRef:"Audits.GetEncodedResponseRequestEncoding"},{name:"quality",type:"number",optional:!0,description:"The quality of the encoding (0-1). (defaults to 1)",typeRef:null},{name:"sizeOnly",type:"boolean",optional:!0,description:"Whether to only return the size information (defaults to false).",typeRef:null}],["body","originalSize","encodedSize"],"Returns the response body and size if it were re-encoded with the specified settings. Only applies to images."),e.registerCommand("Audits.disable",[],[],"Disables issues domain, prevents further issues from being reported to the client."),e.registerCommand("Audits.enable",[],[],"Enables issues domain, sends the issues collected so far to the client by means of the `issueAdded` event."),e.registerCommand("Audits.checkContrast",[{name:"reportAAA",type:"boolean",optional:!0,description:"Whether to report WCAG AAA level issues. Default is false.",typeRef:null}],[],"Runs the contrast check for the target page. Found issues are reported using Audits.issueAdded event."),e.registerCommand("Audits.checkFormsIssues",[],["formIssues"],"Runs the form issues check for the target page. Found issues are reported using Audits.issueAdded event."),e.registerType("Audits.AffectedCookie",[{name:"name",type:"string",optional:!1,description:"The following three properties uniquely identify a cookie",typeRef:null},{name:"path",type:"string",optional:!1,description:"",typeRef:null},{name:"domain",type:"string",optional:!1,description:"",typeRef:null}]),e.registerType("Audits.AffectedRequest",[{name:"requestId",type:"string",optional:!1,description:"The unique request id.",typeRef:"Network.RequestId"},{name:"url",type:"string",optional:!0,description:"",typeRef:null}]),e.registerType("Audits.AffectedFrame",[{name:"frameId",type:"string",optional:!1,description:"",typeRef:"Page.FrameId"}]),e.registerType("Audits.CookieIssueDetails",[{name:"cookie",type:"object",optional:!0,description:"If AffectedCookie is not set then rawCookieLine contains the raw Set-Cookie header string. This hints at a problem where the cookie line is syntactically or semantically malformed in a way that no valid cookie could be created.",typeRef:"Audits.AffectedCookie"},{name:"rawCookieLine",type:"string",optional:!0,description:"",typeRef:null},{name:"cookieWarningReasons",type:"array",optional:!1,description:"",typeRef:"Audits.CookieWarningReason"},{name:"cookieExclusionReasons",type:"array",optional:!1,description:"",typeRef:"Audits.CookieExclusionReason"},{name:"operation",type:"string",optional:!1,description:"Optionally identifies the site-for-cookies and the cookie url, which may be used by the front-end as additional context.",typeRef:"Audits.CookieOperation"},{name:"siteForCookies",type:"string",optional:!0,description:"",typeRef:null},{name:"cookieUrl",type:"string",optional:!0,description:"",typeRef:null},{name:"request",type:"object",optional:!0,description:"",typeRef:"Audits.AffectedRequest"}]),e.registerType("Audits.MixedContentIssueDetails",[{name:"resourceType",type:"string",optional:!0,description:"The type of resource causing the mixed content issue (css, js, iframe, form,...). Marked as optional because it is mapped to from blink::mojom::RequestContextType, which will be replaced by network::mojom::RequestDestination",typeRef:"Audits.MixedContentResourceType"},{name:"resolutionStatus",type:"string",optional:!1,description:"The way the mixed content issue is being resolved.",typeRef:"Audits.MixedContentResolutionStatus"},{name:"insecureURL",type:"string",optional:!1,description:"The unsafe http url causing the mixed content issue.",typeRef:null},{name:"mainResourceURL",type:"string",optional:!1,description:"The url responsible for the call to an unsafe url.",typeRef:null},{name:"request",type:"object",optional:!0,description:"The mixed content request. Does not always exist (e.g. for unsafe form submission urls).",typeRef:"Audits.AffectedRequest"},{name:"frame",type:"object",optional:!0,description:"Optional because not every mixed content issue is necessarily linked to a frame.",typeRef:"Audits.AffectedFrame"}]),e.registerType("Audits.BlockedByResponseIssueDetails",[{name:"request",type:"object",optional:!1,description:"",typeRef:"Audits.AffectedRequest"},{name:"parentFrame",type:"object",optional:!0,description:"",typeRef:"Audits.AffectedFrame"},{name:"blockedFrame",type:"object",optional:!0,description:"",typeRef:"Audits.AffectedFrame"},{name:"reason",type:"string",optional:!1,description:"",typeRef:"Audits.BlockedByResponseReason"}]),e.registerType("Audits.HeavyAdIssueDetails",[{name:"resolution",type:"string",optional:!1,description:"The resolution status, either blocking the content or warning.",typeRef:"Audits.HeavyAdResolutionStatus"},{name:"reason",type:"string",optional:!1,description:"The reason the ad was blocked, total network or cpu or peak cpu.",typeRef:"Audits.HeavyAdReason"},{name:"frame",type:"object",optional:!1,description:"The frame that was blocked.",typeRef:"Audits.AffectedFrame"}]),e.registerType("Audits.SourceCodeLocation",[{name:"scriptId",type:"string",optional:!0,description:"",typeRef:"Runtime.ScriptId"},{name:"url",type:"string",optional:!1,description:"",typeRef:null},{name:"lineNumber",type:"number",optional:!1,description:"",typeRef:null},{name:"columnNumber",type:"number",optional:!1,description:"",typeRef:null}]),e.registerType("Audits.ContentSecurityPolicyIssueDetails",[{name:"blockedURL",type:"string",optional:!0,description:"The url not included in allowed sources.",typeRef:null},{name:"violatedDirective",type:"string",optional:!1,description:"Specific directive that is violated, causing the CSP issue.",typeRef:null},{name:"isReportOnly",type:"boolean",optional:!1,description:"",typeRef:null},{name:"contentSecurityPolicyViolationType",type:"string",optional:!1,description:"",typeRef:"Audits.ContentSecurityPolicyViolationType"},{name:"frameAncestor",type:"object",optional:!0,description:"",typeRef:"Audits.AffectedFrame"},{name:"sourceCodeLocation",type:"object",optional:!0,description:"",typeRef:"Audits.SourceCodeLocation"},{name:"violatingNodeId",type:"number",optional:!0,description:"",typeRef:"DOM.BackendNodeId"}]),e.registerType("Audits.SharedArrayBufferIssueDetails",[{name:"sourceCodeLocation",type:"object",optional:!1,description:"",typeRef:"Audits.SourceCodeLocation"},{name:"isWarning",type:"boolean",optional:!1,description:"",typeRef:null},{name:"type",type:"string",optional:!1,description:"",typeRef:"Audits.SharedArrayBufferIssueType"}]),e.registerType("Audits.LowTextContrastIssueDetails",[{name:"violatingNodeId",type:"number",optional:!1,description:"",typeRef:"DOM.BackendNodeId"},{name:"violatingNodeSelector",type:"string",optional:!1,description:"",typeRef:null},{name:"contrastRatio",type:"number",optional:!1,description:"",typeRef:null},{name:"thresholdAA",type:"number",optional:!1,description:"",typeRef:null},{name:"thresholdAAA",type:"number",optional:!1,description:"",typeRef:null},{name:"fontSize",type:"string",optional:!1,description:"",typeRef:null},{name:"fontWeight",type:"string",optional:!1,description:"",typeRef:null}]),e.registerType("Audits.CorsIssueDetails",[{name:"corsErrorStatus",type:"object",optional:!1,description:"",typeRef:"Network.CorsErrorStatus"},{name:"isWarning",type:"boolean",optional:!1,description:"",typeRef:null},{name:"request",type:"object",optional:!1,description:"",typeRef:"Audits.AffectedRequest"},{name:"location",type:"object",optional:!0,description:"",typeRef:"Audits.SourceCodeLocation"},{name:"initiatorOrigin",type:"string",optional:!0,description:"",typeRef:null},{name:"resourceIPAddressSpace",type:"string",optional:!0,description:"",typeRef:"Network.IPAddressSpace"},{name:"clientSecurityState",type:"object",optional:!0,description:"",typeRef:"Network.ClientSecurityState"}]),e.registerType("Audits.AttributionReportingIssueDetails",[{name:"violationType",type:"string",optional:!1,description:"",typeRef:"Audits.AttributionReportingIssueType"},{name:"request",type:"object",optional:!0,description:"",typeRef:"Audits.AffectedRequest"},{name:"violatingNodeId",type:"number",optional:!0,description:"",typeRef:"DOM.BackendNodeId"},{name:"invalidParameter",type:"string",optional:!0,description:"",typeRef:null}]),e.registerType("Audits.QuirksModeIssueDetails",[{name:"isLimitedQuirksMode",type:"boolean",optional:!1,description:'If false, it means the document\'s mode is \\"quirks\\" instead of \\"limited-quirks\\".',typeRef:null},{name:"documentNodeId",type:"number",optional:!1,description:"",typeRef:"DOM.BackendNodeId"},{name:"url",type:"string",optional:!1,description:"",typeRef:null},{name:"frameId",type:"string",optional:!1,description:"",typeRef:"Page.FrameId"},{name:"loaderId",type:"string",optional:!1,description:"",typeRef:"Network.LoaderId"}]),e.registerType("Audits.NavigatorUserAgentIssueDetails",[{name:"url",type:"string",optional:!1,description:"",typeRef:null},{name:"location",type:"object",optional:!0,description:"",typeRef:"Audits.SourceCodeLocation"}]),e.registerType("Audits.GenericIssueDetails",[{name:"errorType",type:"string",optional:!1,description:"Issues with the same errorType are aggregated in the frontend.",typeRef:"Audits.GenericIssueErrorType"},{name:"frameId",type:"string",optional:!0,description:"",typeRef:"Page.FrameId"},{name:"violatingNodeId",type:"number",optional:!0,description:"",typeRef:"DOM.BackendNodeId"},{name:"violatingNodeAttribute",type:"string",optional:!0,description:"",typeRef:null},{name:"request",type:"object",optional:!0,description:"",typeRef:"Audits.AffectedRequest"}]),e.registerType("Audits.DeprecationIssueDetails",[{name:"affectedFrame",type:"object",optional:!0,description:"",typeRef:"Audits.AffectedFrame"},{name:"sourceCodeLocation",type:"object",optional:!1,description:"",typeRef:"Audits.SourceCodeLocation"},{name:"type",type:"string",optional:!1,description:"One of the deprecation names from third_party/blink/renderer/core/frame/deprecation/deprecation.json5",typeRef:null}]),e.registerType("Audits.BounceTrackingIssueDetails",[{name:"trackingSites",type:"array",optional:!1,description:"",typeRef:"string"}]),e.registerType("Audits.CookieDeprecationMetadataIssueDetails",[{name:"allowedSites",type:"array",optional:!1,description:"",typeRef:"string"}]),e.registerType("Audits.FederatedAuthRequestIssueDetails",[{name:"federatedAuthRequestIssueReason",type:"string",optional:!1,description:"",typeRef:"Audits.FederatedAuthRequestIssueReason"}]),e.registerType("Audits.FederatedAuthUserInfoRequestIssueDetails",[{name:"federatedAuthUserInfoRequestIssueReason",type:"string",optional:!1,description:"",typeRef:"Audits.FederatedAuthUserInfoRequestIssueReason"}]),e.registerType("Audits.ClientHintIssueDetails",[{name:"sourceCodeLocation",type:"object",optional:!1,description:"",typeRef:"Audits.SourceCodeLocation"},{name:"clientHintIssueReason",type:"string",optional:!1,description:"",typeRef:"Audits.ClientHintIssueReason"}]),e.registerType("Audits.FailedRequestInfo",[{name:"url",type:"string",optional:!1,description:"The URL that failed to load.",typeRef:null},{name:"failureMessage",type:"string",optional:!1,description:"The failure message for the failed request.",typeRef:null},{name:"requestId",type:"string",optional:!0,description:"",typeRef:"Network.RequestId"}]),e.registerType("Audits.StylesheetLoadingIssueDetails",[{name:"sourceCodeLocation",type:"object",optional:!1,description:"Source code position that referenced the failing stylesheet.",typeRef:"Audits.SourceCodeLocation"},{name:"styleSheetLoadingIssueReason",type:"string",optional:!1,description:"Reason why the stylesheet couldn't be loaded.",typeRef:"Audits.StyleSheetLoadingIssueReason"},{name:"failedRequestInfo",type:"object",optional:!0,description:"Contains additional info when the failure was due to a request.",typeRef:"Audits.FailedRequestInfo"}]),e.registerType("Audits.PropertyRuleIssueDetails",[{name:"sourceCodeLocation",type:"object",optional:!1,description:"Source code position of the property rule.",typeRef:"Audits.SourceCodeLocation"},{name:"propertyRuleIssueReason",type:"string",optional:!1,description:"Reason why the property rule was discarded.",typeRef:"Audits.PropertyRuleIssueReason"},{name:"propertyValue",type:"string",optional:!0,description:"The value of the property rule property that failed to parse",typeRef:null}]),e.registerType("Audits.InspectorIssueDetails",[{name:"cookieIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.CookieIssueDetails"},{name:"mixedContentIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.MixedContentIssueDetails"},{name:"blockedByResponseIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.BlockedByResponseIssueDetails"},{name:"heavyAdIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.HeavyAdIssueDetails"},{name:"contentSecurityPolicyIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.ContentSecurityPolicyIssueDetails"},{name:"sharedArrayBufferIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.SharedArrayBufferIssueDetails"},{name:"lowTextContrastIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.LowTextContrastIssueDetails"},{name:"corsIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.CorsIssueDetails"},{name:"attributionReportingIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.AttributionReportingIssueDetails"},{name:"quirksModeIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.QuirksModeIssueDetails"},{name:"navigatorUserAgentIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.NavigatorUserAgentIssueDetails"},{name:"genericIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.GenericIssueDetails"},{name:"deprecationIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.DeprecationIssueDetails"},{name:"clientHintIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.ClientHintIssueDetails"},{name:"federatedAuthRequestIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.FederatedAuthRequestIssueDetails"},{name:"bounceTrackingIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.BounceTrackingIssueDetails"},{name:"cookieDeprecationMetadataIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.CookieDeprecationMetadataIssueDetails"},{name:"stylesheetLoadingIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.StylesheetLoadingIssueDetails"},{name:"propertyRuleIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.PropertyRuleIssueDetails"},{name:"federatedAuthUserInfoRequestIssueDetails",type:"object",optional:!0,description:"",typeRef:"Audits.FederatedAuthUserInfoRequestIssueDetails"}]),e.registerType("Audits.InspectorIssue",[{name:"code",type:"string",optional:!1,description:"",typeRef:"Audits.InspectorIssueCode"},{name:"details",type:"object",optional:!1,description:"",typeRef:"Audits.InspectorIssueDetails"},{name:"issueId",type:"string",optional:!0,description:"A unique id for this issue. May be omitted if no other entity (e.g. exception, CDP message, etc.) is referencing this issue.",typeRef:"Audits.IssueId"}]),e.registerEnum("Autofill.FillingStrategy",{AutocompleteAttribute:"autocompleteAttribute",AutofillInferred:"autofillInferred"}),e.registerEvent("Autofill.addressFormFilled",["filledFields","addressUi"]),e.registerCommand("Autofill.trigger",[{name:"fieldId",type:"number",optional:!1,description:"Identifies a field that serves as an anchor for autofill.",typeRef:"DOM.BackendNodeId"},{name:"frameId",type:"string",optional:!0,description:"Identifies the frame that field belongs to.",typeRef:"Page.FrameId"},{name:"card",type:"object",optional:!1,description:"Credit card information to fill out the form. Credit card data is not saved.",typeRef:"Autofill.CreditCard"}],[],"Trigger autofill on a form identified by the fieldId. If the field and related form cannot be autofilled, returns an error."),e.registerCommand("Autofill.setAddresses",[{name:"addresses",type:"array",optional:!1,description:"",typeRef:"Autofill.Address"}],[],"Set addresses so that developers can verify their forms implementation."),e.registerCommand("Autofill.disable",[],[],"Disables autofill domain notifications."),e.registerCommand("Autofill.enable",[],[],"Enables autofill domain notifications."),e.registerType("Autofill.CreditCard",[{name:"number",type:"string",optional:!1,description:"16-digit credit card number.",typeRef:null},{name:"name",type:"string",optional:!1,description:"Name of the credit card owner.",typeRef:null},{name:"expiryMonth",type:"string",optional:!1,description:"2-digit expiry month.",typeRef:null},{name:"expiryYear",type:"string",optional:!1,description:"4-digit expiry year.",typeRef:null},{name:"cvc",type:"string",optional:!1,description:"3-digit card verification code.",typeRef:null}]),e.registerType("Autofill.AddressField",[{name:"name",type:"string",optional:!1,description:"address field name, for example GIVEN_NAME.",typeRef:null},{name:"value",type:"string",optional:!1,description:"address field value, for example Jon Doe.",typeRef:null}]),e.registerType("Autofill.AddressFields",[{name:"fields",type:"array",optional:!1,description:"",typeRef:"Autofill.AddressField"}]),e.registerType("Autofill.Address",[{name:"fields",type:"array",optional:!1,description:"fields and values defining an address.",typeRef:"Autofill.AddressField"}]),e.registerType("Autofill.AddressUI",[{name:"addressFields",type:"array",optional:!1,description:"A two dimension array containing the representation of values from an address profile.",typeRef:"Autofill.AddressFields"}]),e.registerType("Autofill.FilledField",[{name:"htmlType",type:"string",optional:!1,description:"The type of the field, e.g text, password etc.",typeRef:null},{name:"id",type:"string",optional:!1,description:"the html id",typeRef:null},{name:"name",type:"string",optional:!1,description:"the html name",typeRef:null},{name:"value",type:"string",optional:!1,description:"the field value",typeRef:null},{name:"autofillType",type:"string",optional:!1,description:"The actual field type, e.g FAMILY_NAME",typeRef:null},{name:"fillingStrategy",type:"string",optional:!1,description:"The filling strategy",typeRef:"Autofill.FillingStrategy"},{name:"frameId",type:"string",optional:!1,description:"The frame the field belongs to",typeRef:"Page.FrameId"},{name:"fieldId",type:"number",optional:!1,description:"The form field's DOM node",typeRef:"DOM.BackendNodeId"}]),e.registerEnum("BackgroundService.ServiceName",{BackgroundFetch:"backgroundFetch",BackgroundSync:"backgroundSync",PushMessaging:"pushMessaging",Notifications:"notifications",PaymentHandler:"paymentHandler",PeriodicBackgroundSync:"periodicBackgroundSync"}),e.registerEvent("BackgroundService.recordingStateChanged",["isRecording","service"]),e.registerEvent("BackgroundService.backgroundServiceEventReceived",["backgroundServiceEvent"]),e.registerCommand("BackgroundService.startObserving",[{name:"service",type:"string",optional:!1,description:"",typeRef:"BackgroundService.ServiceName"}],[],"Enables event updates for the service."),e.registerCommand("BackgroundService.stopObserving",[{name:"service",type:"string",optional:!1,description:"",typeRef:"BackgroundService.ServiceName"}],[],"Disables event updates for the service."),e.registerCommand("BackgroundService.setRecording",[{name:"shouldRecord",type:"boolean",optional:!1,description:"",typeRef:null},{name:"service",type:"string",optional:!1,description:"",typeRef:"BackgroundService.ServiceName"}],[],"Set the recording state for the service."),e.registerCommand("BackgroundService.clearEvents",[{name:"service",type:"string",optional:!1,description:"",typeRef:"BackgroundService.ServiceName"}],[],"Clears all stored data for the service."),e.registerType("BackgroundService.EventMetadata",[{name:"key",type:"string",optional:!1,description:"",typeRef:null},{name:"value",type:"string",optional:!1,description:"",typeRef:null}]),e.registerType("BackgroundService.BackgroundServiceEvent",[{name:"timestamp",type:"number",optional:!1,description:"Timestamp of the event (in seconds).",typeRef:"Network.TimeSinceEpoch"},{name:"origin",type:"string",optional:!1,description:"The origin this event belongs to.",typeRef:null},{name:"serviceWorkerRegistrationId",type:"string",optional:!1,description:"The Service Worker ID that initiated the event.",typeRef:"ServiceWorker.RegistrationID"},{name:"service",type:"string",optional:!1,description:"The Background Service this event belongs to.",typeRef:"BackgroundService.ServiceName"},{name:"eventName",type:"string",optional:!1,description:"A description of the event.",typeRef:null},{name:"instanceId",type:"string",optional:!1,description:"An identifier that groups related events together.",typeRef:null},{name:"eventMetadata",type:"array",optional:!1,description:"A list of event-specific information.",typeRef:"BackgroundService.EventMetadata"},{name:"storageKey",type:"string",optional:!1,description:"Storage key this event belongs to.",typeRef:null}]),e.registerEnum("Browser.WindowState",{Normal:"normal",Minimized:"minimized",Maximized:"maximized",Fullscreen:"fullscreen"}),e.registerEnum("Browser.PermissionType",{AccessibilityEvents:"accessibilityEvents",AudioCapture:"audioCapture",BackgroundSync:"backgroundSync",BackgroundFetch:"backgroundFetch",CapturedSurfaceControl:"capturedSurfaceControl",ClipboardReadWrite:"clipboardReadWrite",ClipboardSanitizedWrite:"clipboardSanitizedWrite",DisplayCapture:"displayCapture",DurableStorage:"durableStorage",Flash:"flash",Geolocation:"geolocation",IdleDetection:"idleDetection",LocalFonts:"localFonts",Midi:"midi",MidiSysex:"midiSysex",Nfc:"nfc",Notifications:"notifications",PaymentHandler:"paymentHandler",PeriodicBackgroundSync:"periodicBackgroundSync",ProtectedMediaIdentifier:"protectedMediaIdentifier",Sensors:"sensors",StorageAccess:"storageAccess",SpeakerSelection:"speakerSelection",TopLevelStorageAccess:"topLevelStorageAccess",VideoCapture:"videoCapture",VideoCapturePanTiltZoom:"videoCapturePanTiltZoom",WakeLockScreen:"wakeLockScreen",WakeLockSystem:"wakeLockSystem",WindowManagement:"windowManagement"}),e.registerEnum("Browser.PermissionSetting",{Granted:"granted",Denied:"denied",Prompt:"prompt"}),e.registerEnum("Browser.BrowserCommandId",{OpenTabSearch:"openTabSearch",CloseTabSearch:"closeTabSearch"}),e.registerEvent("Browser.downloadWillBegin",["frameId","guid","url","suggestedFilename"]),e.registerEnum("Browser.DownloadProgressEventState",{InProgress:"inProgress",Completed:"completed",Canceled:"canceled"}),e.registerEvent("Browser.downloadProgress",["guid","totalBytes","receivedBytes","state"]),e.registerCommand("Browser.setPermission",[{name:"permission",type:"object",optional:!1,description:"Descriptor of permission to override.",typeRef:"Browser.PermissionDescriptor"},{name:"setting",type:"string",optional:!1,description:"Setting of the permission.",typeRef:"Browser.PermissionSetting"},{name:"origin",type:"string",optional:!0,description:"Origin the permission applies to, all origins if not specified.",typeRef:null},{name:"browserContextId",type:"string",optional:!0,description:"Context to override. When omitted, default browser context is used.",typeRef:"Browser.BrowserContextID"}],[],"Set permission settings for given origin."),e.registerCommand("Browser.grantPermissions",[{name:"permissions",type:"array",optional:!1,description:"",typeRef:"Browser.PermissionType"},{name:"origin",type:"string",optional:!0,description:"Origin the permission applies to, all origins if not specified.",typeRef:null},{name:"browserContextId",type:"string",optional:!0,description:"BrowserContext to override permissions. When omitted, default browser context is used.",typeRef:"Browser.BrowserContextID"}],[],"Grant specific permissions to the given origin and reject all others."),e.registerCommand("Browser.resetPermissions",[{name:"browserContextId",type:"string",optional:!0,description:"BrowserContext to reset permissions. When omitted, default browser context is used.",typeRef:"Browser.BrowserContextID"}],[],"Reset all permission management for all origins."),e.registerEnum("Browser.SetDownloadBehaviorRequestBehavior",{Deny:"deny",Allow:"allow",AllowAndName:"allowAndName",Default:"default"}),e.registerCommand("Browser.setDownloadBehavior",[{name:"behavior",type:"string",optional:!1,description:"Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). |allowAndName| allows download and names files according to their download guids.",typeRef:"Browser.SetDownloadBehaviorRequestBehavior"},{name:"browserContextId",type:"string",optional:!0,description:"BrowserContext to set download behavior. When omitted, default browser context is used.",typeRef:"Browser.BrowserContextID"},{name:"downloadPath",type:"string",optional:!0,description:"The default path to save downloaded files to. This is required if behavior is set to 'allow' or 'allowAndName'.",typeRef:null},{name:"eventsEnabled",type:"boolean",optional:!0,description:"Whether to emit download events (defaults to false).",typeRef:null}],[],"Set the behavior when downloading a file."),e.registerCommand("Browser.cancelDownload",[{name:"guid",type:"string",optional:!1,description:"Global unique identifier of the download.",typeRef:null},{name:"browserContextId",type:"string",optional:!0,description:"BrowserContext to perform the action in. When omitted, default browser context is used.",typeRef:"Browser.BrowserContextID"}],[],"Cancel a download if in progress"),e.registerCommand("Browser.close",[],[],"Close browser gracefully."),e.registerCommand("Browser.crash",[],[],"Crashes browser on the main thread."),e.registerCommand("Browser.crashGpuProcess",[],[],"Crashes GPU process."),e.registerCommand("Browser.getVersion",[],["protocolVersion","product","revision","userAgent","jsVersion"],"Returns version information."),e.registerCommand("Browser.getBrowserCommandLine",[],["arguments"],"Returns the command line switches for the browser process if, and only if --enable-automation is on the commandline."),e.registerCommand("Browser.getHistograms",[{name:"query",type:"string",optional:!0,description:"Requested substring in name. Only histograms which have query as a substring in their name are extracted. An empty or absent query returns all histograms.",typeRef:null},{name:"delta",type:"boolean",optional:!0,description:"If true, retrieve delta since last delta call.",typeRef:null}],["histograms"],"Get Chrome histograms."),e.registerCommand("Browser.getHistogram",[{name:"name",type:"string",optional:!1,description:"Requested histogram name.",typeRef:null},{name:"delta",type:"boolean",optional:!0,description:"If true, retrieve delta since last delta call.",typeRef:null}],["histogram"],"Get a Chrome histogram by name."),e.registerCommand("Browser.getWindowBounds",[{name:"windowId",type:"number",optional:!1,description:"Browser window id.",typeRef:"Browser.WindowID"}],["bounds"],"Get position and size of the browser window."),e.registerCommand("Browser.getWindowForTarget",[{name:"targetId",type:"string",optional:!0,description:"Devtools agent host id. If called as a part of the session, associated targetId is used.",typeRef:"Target.TargetID"}],["windowId","bounds"],"Get the browser window that contains the devtools target."),e.registerCommand("Browser.setWindowBounds",[{name:"windowId",type:"number",optional:!1,description:"Browser window id.",typeRef:"Browser.WindowID"},{name:"bounds",type:"object",optional:!1,description:"New window bounds. The 'minimized', 'maximized' and 'fullscreen' states cannot be combined with 'left', 'top', 'width' or 'height'. Leaves unspecified fields unchanged.",typeRef:"Browser.Bounds"}],[],"Set position and/or size of the browser window."),e.registerCommand("Browser.setDockTile",[{name:"badgeLabel",type:"string",optional:!0,description:"",typeRef:null},{name:"image",type:"string",optional:!0,description:"Png encoded image.",typeRef:null}],[],"Set dock tile details, platform-specific."),e.registerCommand("Browser.executeBrowserCommand",[{name:"commandId",type:"string",optional:!1,description:"",typeRef:"Browser.BrowserCommandId"}],[],"Invoke custom browser commands used by telemetry."),e.registerCommand("Browser.addPrivacySandboxEnrollmentOverride",[{name:"url",type:"string",optional:!1,description:"",typeRef:null}],[],"Allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled. Only supported on page targets."),e.registerType("Browser.Bounds",[{name:"left",type:"number",optional:!0,description:"The offset from the left edge of the screen to the window in pixels.",typeRef:null},{name:"top",type:"number",optional:!0,description:"The offset from the top edge of the screen to the window in pixels.",typeRef:null},{name:"width",type:"number",optional:!0,description:"The window width in pixels.",typeRef:null},{name:"height",type:"number",optional:!0,description:"The window height in pixels.",typeRef:null},{name:"windowState",type:"string",optional:!0,description:"The window state. Default to normal.",typeRef:"Browser.WindowState"}]),e.registerType("Browser.PermissionDescriptor",[{name:"name",type:"string",optional:!1,description:"Name of permission. See https://cs.chromium.org/chromium/src/third_party/blink/renderer/modules/permissions/permission_descriptor.idl for valid permission names.",typeRef:null},{name:"sysex",type:"boolean",optional:!0,description:'For \\"midi\\" permission, may also specify sysex control.',typeRef:null},{name:"userVisibleOnly",type:"boolean",optional:!0,description:'For \\"push\\" permission, may specify userVisibleOnly. Note that userVisibleOnly = true is the only currently supported type.',typeRef:null},{name:"allowWithoutSanitization",type:"boolean",optional:!0,description:'For \\"clipboard\\" permission, may specify allowWithoutSanitization.',typeRef:null},{name:"panTiltZoom",type:"boolean",optional:!0,description:'For \\"camera\\" permission, may specify panTiltZoom.',typeRef:null}]),e.registerType("Browser.Bucket",[{name:"low",type:"number",optional:!1,description:"Minimum value (inclusive).",typeRef:null},{name:"high",type:"number",optional:!1,description:"Maximum value (exclusive).",typeRef:null},{name:"count",type:"number",optional:!1,description:"Number of samples.",typeRef:null}]),e.registerType("Browser.Histogram",[{name:"name",type:"string",optional:!1,description:"Name.",typeRef:null},{name:"sum",type:"number",optional:!1,description:"Sum of sample values.",typeRef:null},{name:"count",type:"number",optional:!1,description:"Total number of samples.",typeRef:null},{name:"buckets",type:"array",optional:!1,description:"Buckets.",typeRef:"Browser.Bucket"}]),e.registerEnum("CSS.StyleSheetOrigin",{Injected:"injected",UserAgent:"user-agent",Inspector:"inspector",Regular:"regular"}),e.registerEnum("CSS.CSSRuleType",{MediaRule:"MediaRule",SupportsRule:"SupportsRule",ContainerRule:"ContainerRule",LayerRule:"LayerRule",ScopeRule:"ScopeRule",StyleRule:"StyleRule"}),e.registerEnum("CSS.CSSMediaSource",{MediaRule:"mediaRule",ImportRule:"importRule",LinkedSheet:"linkedSheet",InlineSheet:"inlineSheet"}),e.registerEvent("CSS.fontsUpdated",["font"]),e.registerEvent("CSS.mediaQueryResultChanged",[]),e.registerEvent("CSS.styleSheetAdded",["header"]),e.registerEvent("CSS.styleSheetChanged",["styleSheetId"]),e.registerEvent("CSS.styleSheetRemoved",["styleSheetId"]),e.registerCommand("CSS.addRule",[{name:"styleSheetId",type:"string",optional:!1,description:"The css style sheet identifier where a new rule should be inserted.",typeRef:"CSS.StyleSheetId"},{name:"ruleText",type:"string",optional:!1,description:"The text of a new rule.",typeRef:null},{name:"location",type:"object",optional:!1,description:"Text position of a new rule in the target style sheet.",typeRef:"CSS.SourceRange"},{name:"nodeForPropertySyntaxValidation",type:"number",optional:!0,description:"NodeId for the DOM node in whose context custom property declarations for registered properties should be validated. If omitted, declarations in the new rule text can only be validated statically, which may produce incorrect results if the declaration contains a var() for example.",typeRef:"DOM.NodeId"}],["rule"],"Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the position specified by `location`."),e.registerCommand("CSS.collectClassNames",[{name:"styleSheetId",type:"string",optional:!1,description:"",typeRef:"CSS.StyleSheetId"}],["classNames"],"Returns all class names from specified stylesheet."),e.registerCommand("CSS.createStyleSheet",[{name:"frameId",type:"string",optional:!1,description:'Identifier of the frame where \\"via-inspector\\" stylesheet should be created.',typeRef:"Page.FrameId"}],["styleSheetId"],'Creates a new special "via-inspector" stylesheet in the frame with given `frameId`.'),e.registerCommand("CSS.disable",[],[],"Disables the CSS agent for the given page."),e.registerCommand("CSS.enable",[],[],"Enables the CSS agent for the given page. Clients should not assume that the CSS agent has been enabled until the result of this command is received."),e.registerCommand("CSS.forcePseudoState",[{name:"nodeId",type:"number",optional:!1,description:"The element id for which to force the pseudo state.",typeRef:"DOM.NodeId"},{name:"forcedPseudoClasses",type:"array",optional:!1,description:"Element pseudo classes to force when computing the element's style.",typeRef:"string"}],[],"Ensures that the given node will have specified pseudo-classes whenever its style is computed by the browser."),e.registerCommand("CSS.getBackgroundColors",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to get background colors for.",typeRef:"DOM.NodeId"}],["backgroundColors","computedFontSize","computedFontWeight"],""),e.registerCommand("CSS.getComputedStyleForNode",[{name:"nodeId",type:"number",optional:!1,description:"",typeRef:"DOM.NodeId"}],["computedStyle"],"Returns the computed style for a DOM node identified by `nodeId`."),e.registerCommand("CSS.getInlineStylesForNode",[{name:"nodeId",type:"number",optional:!1,description:"",typeRef:"DOM.NodeId"}],["inlineStyle","attributesStyle"],'Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM attributes) for a DOM node identified by `nodeId`.'),e.registerCommand("CSS.getMatchedStylesForNode",[{name:"nodeId",type:"number",optional:!1,description:"",typeRef:"DOM.NodeId"}],["inlineStyle","attributesStyle","matchedCSSRules","pseudoElements","inherited","inheritedPseudoElements","cssKeyframesRules","cssPositionFallbackRules","cssPropertyRules","cssPropertyRegistrations","cssFontPaletteValuesRule","parentLayoutNodeId"],"Returns requested styles for a DOM node identified by `nodeId`."),e.registerCommand("CSS.getMediaQueries",[],["medias"],"Returns all media queries parsed by the rendering engine."),e.registerCommand("CSS.getPlatformFontsForNode",[{name:"nodeId",type:"number",optional:!1,description:"",typeRef:"DOM.NodeId"}],["fonts"],"Requests information about platform fonts which we used to render child TextNodes in the given node."),e.registerCommand("CSS.getStyleSheetText",[{name:"styleSheetId",type:"string",optional:!1,description:"",typeRef:"CSS.StyleSheetId"}],["text"],"Returns the current textual content for a stylesheet."),e.registerCommand("CSS.getLayersForNode",[{name:"nodeId",type:"number",optional:!1,description:"",typeRef:"DOM.NodeId"}],["rootLayer"],"Returns all layers parsed by the rendering engine for the tree scope of a node. Given a DOM element identified by nodeId, getLayersForNode returns the root layer for the nearest ancestor document or shadow root. The layer root contains the full layer tree for the tree scope and their ordering."),e.registerCommand("CSS.trackComputedStyleUpdates",[{name:"propertiesToTrack",type:"array",optional:!1,description:"",typeRef:"CSS.CSSComputedStyleProperty"}],[],"Starts tracking the given computed styles for updates. The specified array of properties replaces the one previously specified. Pass empty array to disable tracking. Use takeComputedStyleUpdates to retrieve the list of nodes that had properties modified. The changes to computed style properties are only tracked for nodes pushed to the front-end by the DOM agent. If no changes to the tracked properties occur after the node has been pushed to the front-end, no updates will be issued for the node."),e.registerCommand("CSS.takeComputedStyleUpdates",[],["nodeIds"],"Polls the next batch of computed style updates."),e.registerCommand("CSS.setEffectivePropertyValueForNode",[{name:"nodeId",type:"number",optional:!1,description:"The element id for which to set property.",typeRef:"DOM.NodeId"},{name:"propertyName",type:"string",optional:!1,description:"",typeRef:null},{name:"value",type:"string",optional:!1,description:"",typeRef:null}],[],"Find a rule with the given active property for the given node and set the new value for this property"),e.registerCommand("CSS.setPropertyRulePropertyName",[{name:"styleSheetId",type:"string",optional:!1,description:"",typeRef:"CSS.StyleSheetId"},{name:"range",type:"object",optional:!1,description:"",typeRef:"CSS.SourceRange"},{name:"propertyName",type:"string",optional:!1,description:"",typeRef:null}],["propertyName"],"Modifies the property rule property name."),e.registerCommand("CSS.setKeyframeKey",[{name:"styleSheetId",type:"string",optional:!1,description:"",typeRef:"CSS.StyleSheetId"},{name:"range",type:"object",optional:!1,description:"",typeRef:"CSS.SourceRange"},{name:"keyText",type:"string",optional:!1,description:"",typeRef:null}],["keyText"],"Modifies the keyframe rule key text."),e.registerCommand("CSS.setMediaText",[{name:"styleSheetId",type:"string",optional:!1,description:"",typeRef:"CSS.StyleSheetId"},{name:"range",type:"object",optional:!1,description:"",typeRef:"CSS.SourceRange"},{name:"text",type:"string",optional:!1,description:"",typeRef:null}],["media"],"Modifies the rule selector."),e.registerCommand("CSS.setContainerQueryText",[{name:"styleSheetId",type:"string",optional:!1,description:"",typeRef:"CSS.StyleSheetId"},{name:"range",type:"object",optional:!1,description:"",typeRef:"CSS.SourceRange"},{name:"text",type:"string",optional:!1,description:"",typeRef:null}],["containerQuery"],"Modifies the expression of a container query."),e.registerCommand("CSS.setSupportsText",[{name:"styleSheetId",type:"string",optional:!1,description:"",typeRef:"CSS.StyleSheetId"},{name:"range",type:"object",optional:!1,description:"",typeRef:"CSS.SourceRange"},{name:"text",type:"string",optional:!1,description:"",typeRef:null}],["supports"],"Modifies the expression of a supports at-rule."),e.registerCommand("CSS.setScopeText",[{name:"styleSheetId",type:"string",optional:!1,description:"",typeRef:"CSS.StyleSheetId"},{name:"range",type:"object",optional:!1,description:"",typeRef:"CSS.SourceRange"},{name:"text",type:"string",optional:!1,description:"",typeRef:null}],["scope"],"Modifies the expression of a scope at-rule."),e.registerCommand("CSS.setRuleSelector",[{name:"styleSheetId",type:"string",optional:!1,description:"",typeRef:"CSS.StyleSheetId"},{name:"range",type:"object",optional:!1,description:"",typeRef:"CSS.SourceRange"},{name:"selector",type:"string",optional:!1,description:"",typeRef:null}],["selectorList"],"Modifies the rule selector."),e.registerCommand("CSS.setStyleSheetText",[{name:"styleSheetId",type:"string",optional:!1,description:"",typeRef:"CSS.StyleSheetId"},{name:"text",type:"string",optional:!1,description:"",typeRef:null}],["sourceMapURL"],"Sets the new stylesheet text."),e.registerCommand("CSS.setStyleTexts",[{name:"edits",type:"array",optional:!1,description:"",typeRef:"CSS.StyleDeclarationEdit"},{name:"nodeForPropertySyntaxValidation",type:"number",optional:!0,description:"NodeId for the DOM node in whose context custom property declarations for registered properties should be validated. If omitted, declarations in the new rule text can only be validated statically, which may produce incorrect results if the declaration contains a var() for example.",typeRef:"DOM.NodeId"}],["styles"],"Applies specified style edits one after another in the given order."),e.registerCommand("CSS.startRuleUsageTracking",[],[],"Enables the selector recording."),e.registerCommand("CSS.stopRuleUsageTracking",[],["ruleUsage"],"Stop tracking rule usage and return the list of rules that were used since last call to `takeCoverageDelta` (or since start of coverage instrumentation)."),e.registerCommand("CSS.takeCoverageDelta",[],["coverage","timestamp"],"Obtain list of rules that became used since last call to this method (or since start of coverage instrumentation)."),e.registerCommand("CSS.setLocalFontsEnabled",[{name:"enabled",type:"boolean",optional:!1,description:"Whether rendering of local fonts is enabled.",typeRef:null}],[],"Enables/disables rendering of local CSS fonts (enabled by default)."),e.registerType("CSS.PseudoElementMatches",[{name:"pseudoType",type:"string",optional:!1,description:"Pseudo element type.",typeRef:"DOM.PseudoType"},{name:"pseudoIdentifier",type:"string",optional:!0,description:"Pseudo element custom ident.",typeRef:null},{name:"matches",type:"array",optional:!1,description:"Matches of CSS rules applicable to the pseudo style.",typeRef:"CSS.RuleMatch"}]),e.registerType("CSS.InheritedStyleEntry",[{name:"inlineStyle",type:"object",optional:!0,description:"The ancestor node's inline style, if any, in the style inheritance chain.",typeRef:"CSS.CSSStyle"},{name:"matchedCSSRules",type:"array",optional:!1,description:"Matches of CSS rules matching the ancestor node in the style inheritance chain.",typeRef:"CSS.RuleMatch"}]),e.registerType("CSS.InheritedPseudoElementMatches",[{name:"pseudoElements",type:"array",optional:!1,description:"Matches of pseudo styles from the pseudos of an ancestor node.",typeRef:"CSS.PseudoElementMatches"}]),e.registerType("CSS.RuleMatch",[{name:"rule",type:"object",optional:!1,description:"CSS rule in the match.",typeRef:"CSS.CSSRule"},{name:"matchingSelectors",type:"array",optional:!1,description:"Matching selector indices in the rule's selectorList selectors (0-based).",typeRef:"integer"}]),e.registerType("CSS.Value",[{name:"text",type:"string",optional:!1,description:"Value text.",typeRef:null},{name:"range",type:"object",optional:!0,description:"Value range in the underlying resource (if available).",typeRef:"CSS.SourceRange"},{name:"specificity",type:"object",optional:!0,description:"Specificity of the selector.",typeRef:"CSS.Specificity"}]),e.registerType("CSS.Specificity",[{name:"a",type:"number",optional:!1,description:"The a component, which represents the number of ID selectors.",typeRef:null},{name:"b",type:"number",optional:!1,description:"The b component, which represents the number of class selectors, attributes selectors, and pseudo-classes.",typeRef:null},{name:"c",type:"number",optional:!1,description:"The c component, which represents the number of type selectors and pseudo-elements.",typeRef:null}]),e.registerType("CSS.SelectorList",[{name:"selectors",type:"array",optional:!1,description:"Selectors in the list.",typeRef:"CSS.Value"},{name:"text",type:"string",optional:!1,description:"Rule selector text.",typeRef:null}]),e.registerType("CSS.CSSStyleSheetHeader",[{name:"styleSheetId",type:"string",optional:!1,description:"The stylesheet identifier.",typeRef:"CSS.StyleSheetId"},{name:"frameId",type:"string",optional:!1,description:"Owner frame identifier.",typeRef:"Page.FrameId"},{name:"sourceURL",type:"string",optional:!1,description:"Stylesheet resource URL. Empty if this is a constructed stylesheet created using new CSSStyleSheet() (but non-empty if this is a constructed stylesheet imported as a CSS module script).",typeRef:null},{name:"sourceMapURL",type:"string",optional:!0,description:"URL of source map associated with the stylesheet (if any).",typeRef:null},{name:"origin",type:"string",optional:!1,description:"Stylesheet origin.",typeRef:"CSS.StyleSheetOrigin"},{name:"title",type:"string",optional:!1,description:"Stylesheet title.",typeRef:null},{name:"ownerNode",type:"number",optional:!0,description:"The backend id for the owner node of the stylesheet.",typeRef:"DOM.BackendNodeId"},{name:"disabled",type:"boolean",optional:!1,description:"Denotes whether the stylesheet is disabled.",typeRef:null},{name:"hasSourceURL",type:"boolean",optional:!0,description:"Whether the sourceURL field value comes from the sourceURL comment.",typeRef:null},{name:"isInline",type:"boolean",optional:!1,description:"Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags.",typeRef:null},{name:"isMutable",type:"boolean",optional:!1,description:"Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API. `` element's stylesheets become mutable only if DevTools modifies them. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.",typeRef:null},{name:"isConstructed",type:"boolean",optional:!1,description:"True if this stylesheet is created through new CSSStyleSheet() or imported as a CSS module script.",typeRef:null},{name:"startLine",type:"number",optional:!1,description:"Line offset of the stylesheet within the resource (zero based).",typeRef:null},{name:"startColumn",type:"number",optional:!1,description:"Column offset of the stylesheet within the resource (zero based).",typeRef:null},{name:"length",type:"number",optional:!1,description:"Size of the content (in characters).",typeRef:null},{name:"endLine",type:"number",optional:!1,description:"Line offset of the end of the stylesheet within the resource (zero based).",typeRef:null},{name:"endColumn",type:"number",optional:!1,description:"Column offset of the end of the stylesheet within the resource (zero based).",typeRef:null},{name:"loadingFailed",type:"boolean",optional:!0,description:"If the style sheet was loaded from a network resource, this indicates when the resource failed to load",typeRef:null}]),e.registerType("CSS.CSSRule",[{name:"styleSheetId",type:"string",optional:!0,description:"The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.",typeRef:"CSS.StyleSheetId"},{name:"selectorList",type:"object",optional:!1,description:"Rule selector data.",typeRef:"CSS.SelectorList"},{name:"nestingSelectors",type:"array",optional:!0,description:"Array of selectors from ancestor style rules, sorted by distance from the current rule.",typeRef:"string"},{name:"origin",type:"string",optional:!1,description:"Parent stylesheet's origin.",typeRef:"CSS.StyleSheetOrigin"},{name:"style",type:"object",optional:!1,description:"Associated style declaration.",typeRef:"CSS.CSSStyle"},{name:"media",type:"array",optional:!0,description:"Media list array (for rules involving media queries). The array enumerates media queries starting with the innermost one, going outwards.",typeRef:"CSS.CSSMedia"},{name:"containerQueries",type:"array",optional:!0,description:"Container query list array (for rules involving container queries). The array enumerates container queries starting with the innermost one, going outwards.",typeRef:"CSS.CSSContainerQuery"},{name:"supports",type:"array",optional:!0,description:"@supports CSS at-rule array. The array enumerates @supports at-rules starting with the innermost one, going outwards.",typeRef:"CSS.CSSSupports"},{name:"layers",type:"array",optional:!0,description:"Cascade layer array. Contains the layer hierarchy that this rule belongs to starting with the innermost layer and going outwards.",typeRef:"CSS.CSSLayer"},{name:"scopes",type:"array",optional:!0,description:"@scope CSS at-rule array. The array enumerates @scope at-rules starting with the innermost one, going outwards.",typeRef:"CSS.CSSScope"},{name:"ruleTypes",type:"array",optional:!0,description:"The array keeps the types of ancestor CSSRules from the innermost going outwards.",typeRef:"CSS.CSSRuleType"}]),e.registerType("CSS.RuleUsage",[{name:"styleSheetId",type:"string",optional:!1,description:"The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.",typeRef:"CSS.StyleSheetId"},{name:"startOffset",type:"number",optional:!1,description:"Offset of the start of the rule (including selector) from the beginning of the stylesheet.",typeRef:null},{name:"endOffset",type:"number",optional:!1,description:"Offset of the end of the rule body from the beginning of the stylesheet.",typeRef:null},{name:"used",type:"boolean",optional:!1,description:"Indicates whether the rule was actually used by some element in the page.",typeRef:null}]),e.registerType("CSS.SourceRange",[{name:"startLine",type:"number",optional:!1,description:"Start line of range.",typeRef:null},{name:"startColumn",type:"number",optional:!1,description:"Start column of range (inclusive).",typeRef:null},{name:"endLine",type:"number",optional:!1,description:"End line of range",typeRef:null},{name:"endColumn",type:"number",optional:!1,description:"End column of range (exclusive).",typeRef:null}]),e.registerType("CSS.ShorthandEntry",[{name:"name",type:"string",optional:!1,description:"Shorthand name.",typeRef:null},{name:"value",type:"string",optional:!1,description:"Shorthand value.",typeRef:null},{name:"important",type:"boolean",optional:!0,description:'Whether the property has \\"!important\\" annotation (implies `false` if absent).',typeRef:null}]),e.registerType("CSS.CSSComputedStyleProperty",[{name:"name",type:"string",optional:!1,description:"Computed style property name.",typeRef:null},{name:"value",type:"string",optional:!1,description:"Computed style property value.",typeRef:null}]),e.registerType("CSS.CSSStyle",[{name:"styleSheetId",type:"string",optional:!0,description:"The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.",typeRef:"CSS.StyleSheetId"},{name:"cssProperties",type:"array",optional:!1,description:"CSS properties in the style.",typeRef:"CSS.CSSProperty"},{name:"shorthandEntries",type:"array",optional:!1,description:"Computed values for all shorthands found in the style.",typeRef:"CSS.ShorthandEntry"},{name:"cssText",type:"string",optional:!0,description:"Style declaration text (if available).",typeRef:null},{name:"range",type:"object",optional:!0,description:"Style declaration range in the enclosing stylesheet (if available).",typeRef:"CSS.SourceRange"}]),e.registerType("CSS.CSSProperty",[{name:"name",type:"string",optional:!1,description:"The property name.",typeRef:null},{name:"value",type:"string",optional:!1,description:"The property value.",typeRef:null},{name:"important",type:"boolean",optional:!0,description:'Whether the property has \\"!important\\" annotation (implies `false` if absent).',typeRef:null},{name:"implicit",type:"boolean",optional:!0,description:"Whether the property is implicit (implies `false` if absent).",typeRef:null},{name:"text",type:"string",optional:!0,description:"The full property text as specified in the style.",typeRef:null},{name:"parsedOk",type:"boolean",optional:!0,description:"Whether the property is understood by the browser (implies `true` if absent).",typeRef:null},{name:"disabled",type:"boolean",optional:!0,description:"Whether the property is disabled by the user (present for source-based properties only).",typeRef:null},{name:"range",type:"object",optional:!0,description:"The entire property range in the enclosing style declaration (if available).",typeRef:"CSS.SourceRange"},{name:"longhandProperties",type:"array",optional:!0,description:"Parsed longhand components of this property if it is a shorthand. This field will be empty if the given property is not a shorthand.",typeRef:"CSS.CSSProperty"}]),e.registerType("CSS.CSSMedia",[{name:"text",type:"string",optional:!1,description:"Media query text.",typeRef:null},{name:"source",type:"string",optional:!1,description:'Source of the media query: \\"mediaRule\\" if specified by a @media rule, \\"importRule\\" if specified by an @import rule, \\"linkedSheet\\" if specified by a \\"media\\" attribute in a linked stylesheet\'s LINK tag, \\"inlineSheet\\" if specified by a \\"media\\" attribute in an inline stylesheet\'s STYLE tag.',typeRef:null},{name:"sourceURL",type:"string",optional:!0,description:"URL of the document containing the media query description.",typeRef:null},{name:"range",type:"object",optional:!0,description:"The associated rule (@media or @import) header range in the enclosing stylesheet (if available).",typeRef:"CSS.SourceRange"},{name:"styleSheetId",type:"string",optional:!0,description:"Identifier of the stylesheet containing this object (if exists).",typeRef:"CSS.StyleSheetId"},{name:"mediaList",type:"array",optional:!0,description:"Array of media queries.",typeRef:"CSS.MediaQuery"}]),e.registerType("CSS.MediaQuery",[{name:"expressions",type:"array",optional:!1,description:"Array of media query expressions.",typeRef:"CSS.MediaQueryExpression"},{name:"active",type:"boolean",optional:!1,description:"Whether the media query condition is satisfied.",typeRef:null}]),e.registerType("CSS.MediaQueryExpression",[{name:"value",type:"number",optional:!1,description:"Media query expression value.",typeRef:null},{name:"unit",type:"string",optional:!1,description:"Media query expression units.",typeRef:null},{name:"feature",type:"string",optional:!1,description:"Media query expression feature.",typeRef:null},{name:"valueRange",type:"object",optional:!0,description:"The associated range of the value text in the enclosing stylesheet (if available).",typeRef:"CSS.SourceRange"},{name:"computedLength",type:"number",optional:!0,description:"Computed length of media query expression (if applicable).",typeRef:null}]),e.registerType("CSS.CSSContainerQuery",[{name:"text",type:"string",optional:!1,description:"Container query text.",typeRef:null},{name:"range",type:"object",optional:!0,description:"The associated rule header range in the enclosing stylesheet (if available).",typeRef:"CSS.SourceRange"},{name:"styleSheetId",type:"string",optional:!0,description:"Identifier of the stylesheet containing this object (if exists).",typeRef:"CSS.StyleSheetId"},{name:"name",type:"string",optional:!0,description:"Optional name for the container.",typeRef:null},{name:"physicalAxes",type:"string",optional:!0,description:"Optional physical axes queried for the container.",typeRef:"DOM.PhysicalAxes"},{name:"logicalAxes",type:"string",optional:!0,description:"Optional logical axes queried for the container.",typeRef:"DOM.LogicalAxes"}]),e.registerType("CSS.CSSSupports",[{name:"text",type:"string",optional:!1,description:"Supports rule text.",typeRef:null},{name:"active",type:"boolean",optional:!1,description:"Whether the supports condition is satisfied.",typeRef:null},{name:"range",type:"object",optional:!0,description:"The associated rule header range in the enclosing stylesheet (if available).",typeRef:"CSS.SourceRange"},{name:"styleSheetId",type:"string",optional:!0,description:"Identifier of the stylesheet containing this object (if exists).",typeRef:"CSS.StyleSheetId"}]),e.registerType("CSS.CSSScope",[{name:"text",type:"string",optional:!1,description:"Scope rule text.",typeRef:null},{name:"range",type:"object",optional:!0,description:"The associated rule header range in the enclosing stylesheet (if available).",typeRef:"CSS.SourceRange"},{name:"styleSheetId",type:"string",optional:!0,description:"Identifier of the stylesheet containing this object (if exists).",typeRef:"CSS.StyleSheetId"}]),e.registerType("CSS.CSSLayer",[{name:"text",type:"string",optional:!1,description:"Layer name.",typeRef:null},{name:"range",type:"object",optional:!0,description:"The associated rule header range in the enclosing stylesheet (if available).",typeRef:"CSS.SourceRange"},{name:"styleSheetId",type:"string",optional:!0,description:"Identifier of the stylesheet containing this object (if exists).",typeRef:"CSS.StyleSheetId"}]),e.registerType("CSS.CSSLayerData",[{name:"name",type:"string",optional:!1,description:"Layer name.",typeRef:null},{name:"subLayers",type:"array",optional:!0,description:"Direct sub-layers",typeRef:"CSS.CSSLayerData"},{name:"order",type:"number",optional:!1,description:"Layer order. The order determines the order of the layer in the cascade order. A higher number has higher priority in the cascade order.",typeRef:null}]),e.registerType("CSS.PlatformFontUsage",[{name:"familyName",type:"string",optional:!1,description:"Font's family name reported by platform.",typeRef:null},{name:"postScriptName",type:"string",optional:!1,description:"Font's PostScript name reported by platform.",typeRef:null},{name:"isCustomFont",type:"boolean",optional:!1,description:"Indicates if the font was downloaded or resolved locally.",typeRef:null},{name:"glyphCount",type:"number",optional:!1,description:"Amount of glyphs that were rendered with this font.",typeRef:null}]),e.registerType("CSS.FontVariationAxis",[{name:"tag",type:"string",optional:!1,description:'The font-variation-setting tag (a.k.a. \\"axis tag\\").',typeRef:null},{name:"name",type:"string",optional:!1,description:'Human-readable variation name in the default language (normally, \\"en\\").',typeRef:null},{name:"minValue",type:"number",optional:!1,description:"The minimum value (inclusive) the font supports for this tag.",typeRef:null},{name:"maxValue",type:"number",optional:!1,description:"The maximum value (inclusive) the font supports for this tag.",typeRef:null},{name:"defaultValue",type:"number",optional:!1,description:"The default value.",typeRef:null}]),e.registerType("CSS.FontFace",[{name:"fontFamily",type:"string",optional:!1,description:"The font-family.",typeRef:null},{name:"fontStyle",type:"string",optional:!1,description:"The font-style.",typeRef:null},{name:"fontVariant",type:"string",optional:!1,description:"The font-variant.",typeRef:null},{name:"fontWeight",type:"string",optional:!1,description:"The font-weight.",typeRef:null},{name:"fontStretch",type:"string",optional:!1,description:"The font-stretch.",typeRef:null},{name:"fontDisplay",type:"string",optional:!1,description:"The font-display.",typeRef:null},{name:"unicodeRange",type:"string",optional:!1,description:"The unicode-range.",typeRef:null},{name:"src",type:"string",optional:!1,description:"The src.",typeRef:null},{name:"platformFontFamily",type:"string",optional:!1,description:"The resolved platform font family",typeRef:null},{name:"fontVariationAxes",type:"array",optional:!0,description:'Available variation settings (a.k.a. \\"axes\\").',typeRef:"CSS.FontVariationAxis"}]),e.registerType("CSS.CSSTryRule",[{name:"styleSheetId",type:"string",optional:!0,description:"The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.",typeRef:"CSS.StyleSheetId"},{name:"origin",type:"string",optional:!1,description:"Parent stylesheet's origin.",typeRef:"CSS.StyleSheetOrigin"},{name:"style",type:"object",optional:!1,description:"Associated style declaration.",typeRef:"CSS.CSSStyle"}]),e.registerType("CSS.CSSPositionFallbackRule",[{name:"name",type:"object",optional:!1,description:"",typeRef:"CSS.Value"},{name:"tryRules",type:"array",optional:!1,description:"List of keyframes.",typeRef:"CSS.CSSTryRule"}]),e.registerType("CSS.CSSKeyframesRule",[{name:"animationName",type:"object",optional:!1,description:"Animation name.",typeRef:"CSS.Value"},{name:"keyframes",type:"array",optional:!1,description:"List of keyframes.",typeRef:"CSS.CSSKeyframeRule"}]),e.registerType("CSS.CSSPropertyRegistration",[{name:"propertyName",type:"string",optional:!1,description:"",typeRef:null},{name:"initialValue",type:"object",optional:!0,description:"",typeRef:"CSS.Value"},{name:"inherits",type:"boolean",optional:!1,description:"",typeRef:null},{name:"syntax",type:"string",optional:!1,description:"",typeRef:null}]),e.registerType("CSS.CSSFontPaletteValuesRule",[{name:"styleSheetId",type:"string",optional:!0,description:"The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.",typeRef:"CSS.StyleSheetId"},{name:"origin",type:"string",optional:!1,description:"Parent stylesheet's origin.",typeRef:"CSS.StyleSheetOrigin"},{name:"fontPaletteName",type:"object",optional:!1,description:"Associated font palette name.",typeRef:"CSS.Value"},{name:"style",type:"object",optional:!1,description:"Associated style declaration.",typeRef:"CSS.CSSStyle"}]),e.registerType("CSS.CSSPropertyRule",[{name:"styleSheetId",type:"string",optional:!0,description:"The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.",typeRef:"CSS.StyleSheetId"},{name:"origin",type:"string",optional:!1,description:"Parent stylesheet's origin.",typeRef:"CSS.StyleSheetOrigin"},{name:"propertyName",type:"object",optional:!1,description:"Associated property name.",typeRef:"CSS.Value"},{name:"style",type:"object",optional:!1,description:"Associated style declaration.",typeRef:"CSS.CSSStyle"}]),e.registerType("CSS.CSSKeyframeRule",[{name:"styleSheetId",type:"string",optional:!0,description:"The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.",typeRef:"CSS.StyleSheetId"},{name:"origin",type:"string",optional:!1,description:"Parent stylesheet's origin.",typeRef:"CSS.StyleSheetOrigin"},{name:"keyText",type:"object",optional:!1,description:"Associated key text.",typeRef:"CSS.Value"},{name:"style",type:"object",optional:!1,description:"Associated style declaration.",typeRef:"CSS.CSSStyle"}]),e.registerType("CSS.StyleDeclarationEdit",[{name:"styleSheetId",type:"string",optional:!1,description:"The css style sheet identifier.",typeRef:"CSS.StyleSheetId"},{name:"range",type:"object",optional:!1,description:"The range of the style text in the enclosing stylesheet.",typeRef:"CSS.SourceRange"},{name:"text",type:"string",optional:!1,description:"New style text.",typeRef:null}]),e.registerEnum("CacheStorage.CachedResponseType",{Basic:"basic",Cors:"cors",Default:"default",Error:"error",OpaqueResponse:"opaqueResponse",OpaqueRedirect:"opaqueRedirect"}),e.registerCommand("CacheStorage.deleteCache",[{name:"cacheId",type:"string",optional:!1,description:"Id of cache for deletion.",typeRef:"CacheStorage.CacheId"}],[],"Deletes a cache."),e.registerCommand("CacheStorage.deleteEntry",[{name:"cacheId",type:"string",optional:!1,description:"Id of cache where the entry will be deleted.",typeRef:"CacheStorage.CacheId"},{name:"request",type:"string",optional:!1,description:"URL spec of the request.",typeRef:null}],[],"Deletes a cache entry."),e.registerCommand("CacheStorage.requestCacheNames",[{name:"securityOrigin",type:"string",optional:!0,description:"At least and at most one of securityOrigin, storageKey, storageBucket must be specified. Security origin.",typeRef:null},{name:"storageKey",type:"string",optional:!0,description:"Storage key.",typeRef:null},{name:"storageBucket",type:"object",optional:!0,description:"Storage bucket. If not specified, it uses the default bucket.",typeRef:"Storage.StorageBucket"}],["caches"],"Requests cache names."),e.registerCommand("CacheStorage.requestCachedResponse",[{name:"cacheId",type:"string",optional:!1,description:"Id of cache that contains the entry.",typeRef:"CacheStorage.CacheId"},{name:"requestURL",type:"string",optional:!1,description:"URL spec of the request.",typeRef:null},{name:"requestHeaders",type:"array",optional:!1,description:"headers of the request.",typeRef:"CacheStorage.Header"}],["response"],"Fetches cache entry."),e.registerCommand("CacheStorage.requestEntries",[{name:"cacheId",type:"string",optional:!1,description:"ID of cache to get entries from.",typeRef:"CacheStorage.CacheId"},{name:"skipCount",type:"number",optional:!0,description:"Number of records to skip.",typeRef:null},{name:"pageSize",type:"number",optional:!0,description:"Number of records to fetch.",typeRef:null},{name:"pathFilter",type:"string",optional:!0,description:"If present, only return the entries containing this substring in the path",typeRef:null}],["cacheDataEntries","returnCount"],"Requests data from cache."),e.registerType("CacheStorage.DataEntry",[{name:"requestURL",type:"string",optional:!1,description:"Request URL.",typeRef:null},{name:"requestMethod",type:"string",optional:!1,description:"Request method.",typeRef:null},{name:"requestHeaders",type:"array",optional:!1,description:"Request headers",typeRef:"CacheStorage.Header"},{name:"responseTime",type:"number",optional:!1,description:"Number of seconds since epoch.",typeRef:null},{name:"responseStatus",type:"number",optional:!1,description:"HTTP response status code.",typeRef:null},{name:"responseStatusText",type:"string",optional:!1,description:"HTTP response status text.",typeRef:null},{name:"responseType",type:"string",optional:!1,description:"HTTP response type",typeRef:"CacheStorage.CachedResponseType"},{name:"responseHeaders",type:"array",optional:!1,description:"Response headers",typeRef:"CacheStorage.Header"}]),e.registerType("CacheStorage.Cache",[{name:"cacheId",type:"string",optional:!1,description:"An opaque unique id of the cache.",typeRef:"CacheStorage.CacheId"},{name:"securityOrigin",type:"string",optional:!1,description:"Security origin of the cache.",typeRef:null},{name:"storageKey",type:"string",optional:!1,description:"Storage key of the cache.",typeRef:null},{name:"storageBucket",type:"object",optional:!0,description:"Storage bucket of the cache.",typeRef:"Storage.StorageBucket"},{name:"cacheName",type:"string",optional:!1,description:"The name of the cache.",typeRef:null}]),e.registerType("CacheStorage.Header",[{name:"name",type:"string",optional:!1,description:"",typeRef:null},{name:"value",type:"string",optional:!1,description:"",typeRef:null}]),e.registerType("CacheStorage.CachedResponse",[{name:"body",type:"string",optional:!1,description:"Entry content, base64-encoded.",typeRef:null}]),e.registerEvent("Cast.sinksUpdated",["sinks"]),e.registerEvent("Cast.issueUpdated",["issueMessage"]),e.registerCommand("Cast.enable",[{name:"presentationUrl",type:"string",optional:!0,description:"",typeRef:null}],[],"Starts observing for sinks that can be used for tab mirroring, and if set, sinks compatible with |presentationUrl| as well. When sinks are found, a |sinksUpdated| event is fired. Also starts observing for issue messages. When an issue is added or removed, an |issueUpdated| event is fired."),e.registerCommand("Cast.disable",[],[],"Stops observing for sinks and issues."),e.registerCommand("Cast.setSinkToUse",[{name:"sinkName",type:"string",optional:!1,description:"",typeRef:null}],[],"Sets a sink to be used when the web page requests the browser to choose a sink via Presentation API, Remote Playback API, or Cast SDK."),e.registerCommand("Cast.startDesktopMirroring",[{name:"sinkName",type:"string",optional:!1,description:"",typeRef:null}],[],"Starts mirroring the desktop to the sink."),e.registerCommand("Cast.startTabMirroring",[{name:"sinkName",type:"string",optional:!1,description:"",typeRef:null}],[],"Starts mirroring the tab to the sink."),e.registerCommand("Cast.stopCasting",[{name:"sinkName",type:"string",optional:!1,description:"",typeRef:null}],[],"Stops the active Cast session on the sink."),e.registerType("Cast.Sink",[{name:"name",type:"string",optional:!1,description:"",typeRef:null},{name:"id",type:"string",optional:!1,description:"",typeRef:null},{name:"session",type:"string",optional:!0,description:"Text describing the current session. Present only if there is an active session on the sink.",typeRef:null}]),e.registerEnum("DOM.PseudoType",{FirstLine:"first-line",FirstLetter:"first-letter",Before:"before",After:"after",Marker:"marker",Backdrop:"backdrop",Selection:"selection",TargetText:"target-text",SpellingError:"spelling-error",GrammarError:"grammar-error",Highlight:"highlight",FirstLineInherited:"first-line-inherited",Scrollbar:"scrollbar",ScrollbarThumb:"scrollbar-thumb",ScrollbarButton:"scrollbar-button",ScrollbarTrack:"scrollbar-track",ScrollbarTrackPiece:"scrollbar-track-piece",ScrollbarCorner:"scrollbar-corner",Resizer:"resizer",InputListButton:"input-list-button",ViewTransition:"view-transition",ViewTransitionGroup:"view-transition-group",ViewTransitionImagePair:"view-transition-image-pair",ViewTransitionOld:"view-transition-old",ViewTransitionNew:"view-transition-new"}),e.registerEnum("DOM.ShadowRootType",{UserAgent:"user-agent",Open:"open",Closed:"closed"}),e.registerEnum("DOM.CompatibilityMode",{QuirksMode:"QuirksMode",LimitedQuirksMode:"LimitedQuirksMode",NoQuirksMode:"NoQuirksMode"}),e.registerEnum("DOM.PhysicalAxes",{Horizontal:"Horizontal",Vertical:"Vertical",Both:"Both"}),e.registerEnum("DOM.LogicalAxes",{Inline:"Inline",Block:"Block",Both:"Both"}),e.registerEnum("DOM.ScrollOrientation",{Horizontal:"horizontal",Vertical:"vertical"}),e.registerEvent("DOM.attributeModified",["nodeId","name","value"]),e.registerEvent("DOM.attributeRemoved",["nodeId","name"]),e.registerEvent("DOM.characterDataModified",["nodeId","characterData"]),e.registerEvent("DOM.childNodeCountUpdated",["nodeId","childNodeCount"]),e.registerEvent("DOM.childNodeInserted",["parentNodeId","previousNodeId","node"]),e.registerEvent("DOM.childNodeRemoved",["parentNodeId","nodeId"]),e.registerEvent("DOM.distributedNodesUpdated",["insertionPointId","distributedNodes"]),e.registerEvent("DOM.documentUpdated",[]),e.registerEvent("DOM.inlineStyleInvalidated",["nodeIds"]),e.registerEvent("DOM.pseudoElementAdded",["parentId","pseudoElement"]),e.registerEvent("DOM.topLayerElementsUpdated",[]),e.registerEvent("DOM.pseudoElementRemoved",["parentId","pseudoElementId"]),e.registerEvent("DOM.setChildNodes",["parentId","nodes"]),e.registerEvent("DOM.shadowRootPopped",["hostId","rootId"]),e.registerEvent("DOM.shadowRootPushed",["hostId","root"]),e.registerCommand("DOM.collectClassNamesFromSubtree",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to collect class names.",typeRef:"DOM.NodeId"}],["classNames"],"Collects class names for the node with given id and all of it's child nodes."),e.registerCommand("DOM.copyTo",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to copy.",typeRef:"DOM.NodeId"},{name:"targetNodeId",type:"number",optional:!1,description:"Id of the element to drop the copy into.",typeRef:"DOM.NodeId"},{name:"insertBeforeNodeId",type:"number",optional:!0,description:"Drop the copy before this node (if absent, the copy becomes the last child of `targetNodeId`).",typeRef:"DOM.NodeId"}],["nodeId"],"Creates a deep copy of the specified node and places it into the target container before the given anchor."),e.registerCommand("DOM.describeNode",[{name:"nodeId",type:"number",optional:!0,description:"Identifier of the node.",typeRef:"DOM.NodeId"},{name:"backendNodeId",type:"number",optional:!0,description:"Identifier of the backend node.",typeRef:"DOM.BackendNodeId"},{name:"objectId",type:"string",optional:!0,description:"JavaScript object id of the node wrapper.",typeRef:"Runtime.RemoteObjectId"},{name:"depth",type:"number",optional:!0,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.",typeRef:null},{name:"pierce",type:"boolean",optional:!0,description:"Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false).",typeRef:null}],["node"],"Describes node given its id, does not require domain to be enabled. Does not start tracking any objects, can be used for automation."),e.registerCommand("DOM.scrollIntoViewIfNeeded",[{name:"nodeId",type:"number",optional:!0,description:"Identifier of the node.",typeRef:"DOM.NodeId"},{name:"backendNodeId",type:"number",optional:!0,description:"Identifier of the backend node.",typeRef:"DOM.BackendNodeId"},{name:"objectId",type:"string",optional:!0,description:"JavaScript object id of the node wrapper.",typeRef:"Runtime.RemoteObjectId"},{name:"rect",type:"object",optional:!0,description:"The rect to be scrolled into view, relative to the node's border box, in CSS pixels. When omitted, center of the node will be used, similar to Element.scrollIntoView.",typeRef:"DOM.Rect"}],[],"Scrolls the specified rect of the given node into view if not already visible. Note: exactly one between nodeId, backendNodeId and objectId should be passed to identify the node."),e.registerCommand("DOM.disable",[],[],"Disables DOM agent for the given page."),e.registerCommand("DOM.discardSearchResults",[{name:"searchId",type:"string",optional:!1,description:"Unique search session identifier.",typeRef:null}],[],"Discards search results from the session with the given id. `getSearchResults` should no longer be called for that search."),e.registerEnum("DOM.EnableRequestIncludeWhitespace",{None:"none",All:"all"}),e.registerCommand("DOM.enable",[{name:"includeWhitespace",type:"string",optional:!0,description:"Whether to include whitespaces in the children array of returned Nodes.",typeRef:"DOM.EnableRequestIncludeWhitespace"}],[],"Enables DOM agent for the given page."),e.registerCommand("DOM.focus",[{name:"nodeId",type:"number",optional:!0,description:"Identifier of the node.",typeRef:"DOM.NodeId"},{name:"backendNodeId",type:"number",optional:!0,description:"Identifier of the backend node.",typeRef:"DOM.BackendNodeId"},{name:"objectId",type:"string",optional:!0,description:"JavaScript object id of the node wrapper.",typeRef:"Runtime.RemoteObjectId"}],[],"Focuses the given element."),e.registerCommand("DOM.getAttributes",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to retrieve attributes for.",typeRef:"DOM.NodeId"}],["attributes"],"Returns attributes for the specified node."),e.registerCommand("DOM.getBoxModel",[{name:"nodeId",type:"number",optional:!0,description:"Identifier of the node.",typeRef:"DOM.NodeId"},{name:"backendNodeId",type:"number",optional:!0,description:"Identifier of the backend node.",typeRef:"DOM.BackendNodeId"},{name:"objectId",type:"string",optional:!0,description:"JavaScript object id of the node wrapper.",typeRef:"Runtime.RemoteObjectId"}],["model"],"Returns boxes for the given node."),e.registerCommand("DOM.getContentQuads",[{name:"nodeId",type:"number",optional:!0,description:"Identifier of the node.",typeRef:"DOM.NodeId"},{name:"backendNodeId",type:"number",optional:!0,description:"Identifier of the backend node.",typeRef:"DOM.BackendNodeId"},{name:"objectId",type:"string",optional:!0,description:"JavaScript object id of the node wrapper.",typeRef:"Runtime.RemoteObjectId"}],["quads"],"Returns quads that describe node position on the page. This method might return multiple quads for inline nodes."),e.registerCommand("DOM.getDocument",[{name:"depth",type:"number",optional:!0,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.",typeRef:null},{name:"pierce",type:"boolean",optional:!0,description:"Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false).",typeRef:null}],["root"],"Returns the root DOM node (and optionally the subtree) to the caller. Implicitly enables the DOM domain events for the current target."),e.registerCommand("DOM.getFlattenedDocument",[{name:"depth",type:"number",optional:!0,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.",typeRef:null},{name:"pierce",type:"boolean",optional:!0,description:"Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false).",typeRef:null}],["nodes"],"Returns the root DOM node (and optionally the subtree) to the caller. Deprecated, as it is not designed to work well with the rest of the DOM agent. Use DOMSnapshot.captureSnapshot instead."),e.registerCommand("DOM.getNodesForSubtreeByStyle",[{name:"nodeId",type:"number",optional:!1,description:"Node ID pointing to the root of a subtree.",typeRef:"DOM.NodeId"},{name:"computedStyles",type:"array",optional:!1,description:"The style to filter nodes by (includes nodes if any of properties matches).",typeRef:"DOM.CSSComputedStyleProperty"},{name:"pierce",type:"boolean",optional:!0,description:"Whether or not iframes and shadow roots in the same target should be traversed when returning the results (default is false).",typeRef:null}],["nodeIds"],"Finds nodes with a given computed style in a subtree."),e.registerCommand("DOM.getNodeForLocation",[{name:"x",type:"number",optional:!1,description:"X coordinate.",typeRef:null},{name:"y",type:"number",optional:!1,description:"Y coordinate.",typeRef:null},{name:"includeUserAgentShadowDOM",type:"boolean",optional:!0,description:"False to skip to the nearest non-UA shadow root ancestor (default: false).",typeRef:null},{name:"ignorePointerEventsNone",type:"boolean",optional:!0,description:"Whether to ignore pointer-events: none on elements and hit test them.",typeRef:null}],["backendNodeId","frameId","nodeId"],"Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is either returned or not."),e.registerCommand("DOM.getOuterHTML",[{name:"nodeId",type:"number",optional:!0,description:"Identifier of the node.",typeRef:"DOM.NodeId"},{name:"backendNodeId",type:"number",optional:!0,description:"Identifier of the backend node.",typeRef:"DOM.BackendNodeId"},{name:"objectId",type:"string",optional:!0,description:"JavaScript object id of the node wrapper.",typeRef:"Runtime.RemoteObjectId"}],["outerHTML"],"Returns node's HTML markup."),e.registerCommand("DOM.getRelayoutBoundary",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node.",typeRef:"DOM.NodeId"}],["nodeId"],"Returns the id of the nearest ancestor that is a relayout boundary."),e.registerCommand("DOM.getSearchResults",[{name:"searchId",type:"string",optional:!1,description:"Unique search session identifier.",typeRef:null},{name:"fromIndex",type:"number",optional:!1,description:"Start index of the search result to be returned.",typeRef:null},{name:"toIndex",type:"number",optional:!1,description:"End index of the search result to be returned.",typeRef:null}],["nodeIds"],"Returns search results from given `fromIndex` to given `toIndex` from the search with the given identifier."),e.registerCommand("DOM.hideHighlight",[],[],"Hides any highlight."),e.registerCommand("DOM.highlightNode",[],[],"Highlights DOM node."),e.registerCommand("DOM.highlightRect",[],[],"Highlights given rectangle."),e.registerCommand("DOM.markUndoableState",[],[],"Marks last undoable state."),e.registerCommand("DOM.moveTo",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to move.",typeRef:"DOM.NodeId"},{name:"targetNodeId",type:"number",optional:!1,description:"Id of the element to drop the moved node into.",typeRef:"DOM.NodeId"},{name:"insertBeforeNodeId",type:"number",optional:!0,description:"Drop node before this one (if absent, the moved node becomes the last child of `targetNodeId`).",typeRef:"DOM.NodeId"}],["nodeId"],"Moves node into the new container, places it before the given anchor."),e.registerCommand("DOM.performSearch",[{name:"query",type:"string",optional:!1,description:"Plain text or query selector or XPath search query.",typeRef:null},{name:"includeUserAgentShadowDOM",type:"boolean",optional:!0,description:"True to search in user agent shadow DOM.",typeRef:null}],["searchId","resultCount"],"Searches for a given string in the DOM tree. Use `getSearchResults` to access search results or `cancelSearch` to end this search session."),e.registerCommand("DOM.pushNodeByPathToFrontend",[{name:"path",type:"string",optional:!1,description:"Path to node in the proprietary format.",typeRef:null}],["nodeId"],"Requests that the node is sent to the caller given its path. // FIXME, use XPath"),e.registerCommand("DOM.pushNodesByBackendIdsToFrontend",[{name:"backendNodeIds",type:"array",optional:!1,description:"The array of backend node ids.",typeRef:"DOM.BackendNodeId"}],["nodeIds"],"Requests that a batch of nodes is sent to the caller given their backend node ids."),e.registerCommand("DOM.querySelector",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to query upon.",typeRef:"DOM.NodeId"},{name:"selector",type:"string",optional:!1,description:"Selector string.",typeRef:null}],["nodeId"],"Executes `querySelector` on a given node."),e.registerCommand("DOM.querySelectorAll",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to query upon.",typeRef:"DOM.NodeId"},{name:"selector",type:"string",optional:!1,description:"Selector string.",typeRef:null}],["nodeIds"],"Executes `querySelectorAll` on a given node."),e.registerCommand("DOM.getTopLayerElements",[],["nodeIds"],"Returns NodeIds of current top layer elements. Top layer is rendered closest to the user within a viewport, therefore its elements always appear on top of all other content."),e.registerCommand("DOM.redo",[],[],"Re-does the last undone action."),e.registerCommand("DOM.removeAttribute",[{name:"nodeId",type:"number",optional:!1,description:"Id of the element to remove attribute from.",typeRef:"DOM.NodeId"},{name:"name",type:"string",optional:!1,description:"Name of the attribute to remove.",typeRef:null}],[],"Removes attribute with given name from an element with given id."),e.registerCommand("DOM.removeNode",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to remove.",typeRef:"DOM.NodeId"}],[],"Removes node with given id."),e.registerCommand("DOM.requestChildNodes",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to get children for.",typeRef:"DOM.NodeId"},{name:"depth",type:"number",optional:!0,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.",typeRef:null},{name:"pierce",type:"boolean",optional:!0,description:"Whether or not iframes and shadow roots should be traversed when returning the sub-tree (default is false).",typeRef:null}],[],"Requests that children of the node with given id are returned to the caller in form of `setChildNodes` events where not only immediate children are retrieved, but all children down to the specified depth."),e.registerCommand("DOM.requestNode",[{name:"objectId",type:"string",optional:!1,description:"JavaScript object id to convert into node.",typeRef:"Runtime.RemoteObjectId"}],["nodeId"],"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 `setChildNodes` notifications."),e.registerCommand("DOM.resolveNode",[{name:"nodeId",type:"number",optional:!0,description:"Id of the node to resolve.",typeRef:"DOM.NodeId"},{name:"backendNodeId",type:"number",optional:!0,description:"Backend identifier of the node to resolve.",typeRef:"DOM.BackendNodeId"},{name:"objectGroup",type:"string",optional:!0,description:"Symbolic group name that can be used to release multiple objects.",typeRef:null},{name:"executionContextId",type:"number",optional:!0,description:"Execution context in which to resolve the node.",typeRef:"Runtime.ExecutionContextId"}],["object"],"Resolves the JavaScript node object for a given NodeId or BackendNodeId."),e.registerCommand("DOM.setAttributeValue",[{name:"nodeId",type:"number",optional:!1,description:"Id of the element to set attribute for.",typeRef:"DOM.NodeId"},{name:"name",type:"string",optional:!1,description:"Attribute name.",typeRef:null},{name:"value",type:"string",optional:!1,description:"Attribute value.",typeRef:null}],[],"Sets attribute for an element with given id."),e.registerCommand("DOM.setAttributesAsText",[{name:"nodeId",type:"number",optional:!1,description:"Id of the element to set attributes for.",typeRef:"DOM.NodeId"},{name:"text",type:"string",optional:!1,description:"Text with a number of attributes. Will parse this text using HTML parser.",typeRef:null},{name:"name",type:"string",optional:!0,description:"Attribute name to replace with new attributes derived from text in case text parsed successfully.",typeRef:null}],[],"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."),e.registerCommand("DOM.setFileInputFiles",[{name:"files",type:"array",optional:!1,description:"Array of file paths to set.",typeRef:"string"},{name:"nodeId",type:"number",optional:!0,description:"Identifier of the node.",typeRef:"DOM.NodeId"},{name:"backendNodeId",type:"number",optional:!0,description:"Identifier of the backend node.",typeRef:"DOM.BackendNodeId"},{name:"objectId",type:"string",optional:!0,description:"JavaScript object id of the node wrapper.",typeRef:"Runtime.RemoteObjectId"}],[],"Sets files for the given file input element."),e.registerCommand("DOM.setNodeStackTracesEnabled",[{name:"enable",type:"boolean",optional:!1,description:"Enable or disable.",typeRef:null}],[],"Sets if stack traces should be captured for Nodes. See `Node.getNodeStackTraces`. Default is disabled."),e.registerCommand("DOM.getNodeStackTraces",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to get stack traces for.",typeRef:"DOM.NodeId"}],["creation"],"Gets stack traces associated with a Node. As of now, only provides stack trace for Node creation."),e.registerCommand("DOM.getFileInfo",[{name:"objectId",type:"string",optional:!1,description:"JavaScript object id of the node wrapper.",typeRef:"Runtime.RemoteObjectId"}],["path"],"Returns file information for the given File wrapper."),e.registerCommand("DOM.setInspectedNode",[{name:"nodeId",type:"number",optional:!1,description:"DOM node id to be accessible by means of $x command line API.",typeRef:"DOM.NodeId"}],[],"Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions)."),e.registerCommand("DOM.setNodeName",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to set name for.",typeRef:"DOM.NodeId"},{name:"name",type:"string",optional:!1,description:"New node's name.",typeRef:null}],["nodeId"],"Sets node name for a node with given id."),e.registerCommand("DOM.setNodeValue",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to set value for.",typeRef:"DOM.NodeId"},{name:"value",type:"string",optional:!1,description:"New node's value.",typeRef:null}],[],"Sets node value for a node with given id."),e.registerCommand("DOM.setOuterHTML",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to set markup for.",typeRef:"DOM.NodeId"},{name:"outerHTML",type:"string",optional:!1,description:"Outer HTML markup to set.",typeRef:null}],[],"Sets node HTML markup, returns new node id."),e.registerCommand("DOM.undo",[],[],"Undoes the last performed action."),e.registerCommand("DOM.getFrameOwner",[{name:"frameId",type:"string",optional:!1,description:"",typeRef:"Page.FrameId"}],["backendNodeId","nodeId"],"Returns iframe node that owns iframe with the given domain."),e.registerCommand("DOM.getContainerForNode",[{name:"nodeId",type:"number",optional:!1,description:"",typeRef:"DOM.NodeId"},{name:"containerName",type:"string",optional:!0,description:"",typeRef:null},{name:"physicalAxes",type:"string",optional:!0,description:"",typeRef:"DOM.PhysicalAxes"},{name:"logicalAxes",type:"string",optional:!0,description:"",typeRef:"DOM.LogicalAxes"}],["nodeId"],"Returns the query container of the given node based on container query conditions: containerName, physical, and logical axes. If no axes are provided, the style container is returned, which is the direct parent or the closest element with a matching container-name."),e.registerCommand("DOM.getQueryingDescendantsForContainer",[{name:"nodeId",type:"number",optional:!1,description:"Id of the container node to find querying descendants from.",typeRef:"DOM.NodeId"}],["nodeIds"],"Returns the descendants of a container query container that have container queries against this container."),e.registerType("DOM.BackendNode",[{name:"nodeType",type:"number",optional:!1,description:"`Node`'s nodeType.",typeRef:null},{name:"nodeName",type:"string",optional:!1,description:"`Node`'s nodeName.",typeRef:null},{name:"backendNodeId",type:"number",optional:!1,description:"",typeRef:"DOM.BackendNodeId"}]),e.registerType("DOM.Node",[{name:"nodeId",type:"number",optional:!1,description:"Node identifier that is passed into the rest of the DOM messages as the `nodeId`. Backend will only push node with given `id` once. It is aware of all requested nodes and will only fire DOM events for nodes known to the client.",typeRef:"DOM.NodeId"},{name:"parentId",type:"number",optional:!0,description:"The id of the parent node if any.",typeRef:"DOM.NodeId"},{name:"backendNodeId",type:"number",optional:!1,description:"The BackendNodeId for this node.",typeRef:"DOM.BackendNodeId"},{name:"nodeType",type:"number",optional:!1,description:"`Node`'s nodeType.",typeRef:null},{name:"nodeName",type:"string",optional:!1,description:"`Node`'s nodeName.",typeRef:null},{name:"localName",type:"string",optional:!1,description:"`Node`'s localName.",typeRef:null},{name:"nodeValue",type:"string",optional:!1,description:"`Node`'s nodeValue.",typeRef:null},{name:"childNodeCount",type:"number",optional:!0,description:"Child count for `Container` nodes.",typeRef:null},{name:"children",type:"array",optional:!0,description:"Child nodes of this node when requested with children.",typeRef:"DOM.Node"},{name:"attributes",type:"array",optional:!0,description:"Attributes of the `Element` node in the form of flat array `[name1, value1, name2, value2]`.",typeRef:"string"},{name:"documentURL",type:"string",optional:!0,description:"Document URL that `Document` or `FrameOwner` node points to.",typeRef:null},{name:"baseURL",type:"string",optional:!0,description:"Base URL that `Document` or `FrameOwner` node uses for URL completion.",typeRef:null},{name:"publicId",type:"string",optional:!0,description:"`DocumentType`'s publicId.",typeRef:null},{name:"systemId",type:"string",optional:!0,description:"`DocumentType`'s systemId.",typeRef:null},{name:"internalSubset",type:"string",optional:!0,description:"`DocumentType`'s internalSubset.",typeRef:null},{name:"xmlVersion",type:"string",optional:!0,description:"`Document`'s XML version in case of XML documents.",typeRef:null},{name:"name",type:"string",optional:!0,description:"`Attr`'s name.",typeRef:null},{name:"value",type:"string",optional:!0,description:"`Attr`'s value.",typeRef:null},{name:"pseudoType",type:"string",optional:!0,description:"Pseudo element type for this node.",typeRef:"DOM.PseudoType"},{name:"pseudoIdentifier",type:"string",optional:!0,description:"Pseudo element identifier for this node. Only present if there is a valid pseudoType.",typeRef:null},{name:"shadowRootType",type:"string",optional:!0,description:"Shadow root type.",typeRef:"DOM.ShadowRootType"},{name:"frameId",type:"string",optional:!0,description:"Frame ID for frame owner elements.",typeRef:"Page.FrameId"},{name:"contentDocument",type:"object",optional:!0,description:"Content document for frame owner elements.",typeRef:"DOM.Node"},{name:"shadowRoots",type:"array",optional:!0,description:"Shadow root list for given element host.",typeRef:"DOM.Node"},{name:"templateContent",type:"object",optional:!0,description:"Content document fragment for template elements.",typeRef:"DOM.Node"},{name:"pseudoElements",type:"array",optional:!0,description:"Pseudo elements associated with this node.",typeRef:"DOM.Node"},{name:"importedDocument",type:"object",optional:!0,description:"Deprecated, as the HTML Imports API has been removed (crbug.com/937746). This property used to return the imported document for the HTMLImport links. The property is always undefined now.",typeRef:"DOM.Node"},{name:"distributedNodes",type:"array",optional:!0,description:"Distributed nodes for given insertion point.",typeRef:"DOM.BackendNode"},{name:"isSVG",type:"boolean",optional:!0,description:"Whether the node is SVG.",typeRef:null},{name:"compatibilityMode",type:"string",optional:!0,description:"",typeRef:"DOM.CompatibilityMode"},{name:"assignedSlot",type:"object",optional:!0,description:"",typeRef:"DOM.BackendNode"}]),e.registerType("DOM.RGBA",[{name:"r",type:"number",optional:!1,description:"The red component, in the [0-255] range.",typeRef:null},{name:"g",type:"number",optional:!1,description:"The green component, in the [0-255] range.",typeRef:null},{name:"b",type:"number",optional:!1,description:"The blue component, in the [0-255] range.",typeRef:null},{name:"a",type:"number",optional:!0,description:"The alpha component, in the [0-1] range (default: 1).",typeRef:null}]),e.registerType("DOM.Quad",[{name:"Quad",type:"array",optional:!1,description:"An array of quad vertices, x immediately followed by y for each point, points clock-wise.",typeRef:"number"}]),e.registerType("DOM.BoxModel",[{name:"content",type:"array",optional:!1,description:"Content box",typeRef:"DOM.Quad"},{name:"padding",type:"array",optional:!1,description:"Padding box",typeRef:"DOM.Quad"},{name:"border",type:"array",optional:!1,description:"Border box",typeRef:"DOM.Quad"},{name:"margin",type:"array",optional:!1,description:"Margin box",typeRef:"DOM.Quad"},{name:"width",type:"number",optional:!1,description:"Node width",typeRef:null},{name:"height",type:"number",optional:!1,description:"Node height",typeRef:null},{name:"shapeOutside",type:"object",optional:!0,description:"Shape outside coordinates",typeRef:"DOM.ShapeOutsideInfo"}]),e.registerType("DOM.ShapeOutsideInfo",[{name:"bounds",type:"array",optional:!1,description:"Shape bounds",typeRef:"DOM.Quad"},{name:"shape",type:"array",optional:!1,description:"Shape coordinate details",typeRef:"any"},{name:"marginShape",type:"array",optional:!1,description:"Margin shape bounds",typeRef:"any"}]),e.registerType("DOM.Rect",[{name:"x",type:"number",optional:!1,description:"X coordinate",typeRef:null},{name:"y",type:"number",optional:!1,description:"Y coordinate",typeRef:null},{name:"width",type:"number",optional:!1,description:"Rectangle width",typeRef:null},{name:"height",type:"number",optional:!1,description:"Rectangle height",typeRef:null}]),e.registerType("DOM.CSSComputedStyleProperty",[{name:"name",type:"string",optional:!1,description:"Computed style property name.",typeRef:null},{name:"value",type:"string",optional:!1,description:"Computed style property value.",typeRef:null}]),e.registerEnum("DOMDebugger.DOMBreakpointType",{SubtreeModified:"subtree-modified",AttributeModified:"attribute-modified",NodeRemoved:"node-removed"}),e.registerEnum("DOMDebugger.CSPViolationType",{TrustedtypeSinkViolation:"trustedtype-sink-violation",TrustedtypePolicyViolation:"trustedtype-policy-violation"}),e.registerCommand("DOMDebugger.getEventListeners",[{name:"objectId",type:"string",optional:!1,description:"Identifier of the object to return listeners for.",typeRef:"Runtime.RemoteObjectId"},{name:"depth",type:"number",optional:!0,description:"The maximum depth at which Node children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.",typeRef:null},{name:"pierce",type:"boolean",optional:!0,description:"Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false). Reports listeners for all contexts if pierce is enabled.",typeRef:null}],["listeners"],"Returns event listeners of the given object."),e.registerCommand("DOMDebugger.removeDOMBreakpoint",[{name:"nodeId",type:"number",optional:!1,description:"Identifier of the node to remove breakpoint from.",typeRef:"DOM.NodeId"},{name:"type",type:"string",optional:!1,description:"Type of the breakpoint to remove.",typeRef:"DOMDebugger.DOMBreakpointType"}],[],"Removes DOM breakpoint that was set using `setDOMBreakpoint`."),e.registerCommand("DOMDebugger.removeEventListenerBreakpoint",[{name:"eventName",type:"string",optional:!1,description:"Event name.",typeRef:null},{name:"targetName",type:"string",optional:!0,description:"EventTarget interface name.",typeRef:null}],[],"Removes breakpoint on particular DOM event."),e.registerCommand("DOMDebugger.removeInstrumentationBreakpoint",[{name:"eventName",type:"string",optional:!1,description:"Instrumentation name to stop on.",typeRef:null}],[],"Removes breakpoint on particular native event."),e.registerCommand("DOMDebugger.removeXHRBreakpoint",[{name:"url",type:"string",optional:!1,description:"Resource URL substring.",typeRef:null}],[],"Removes breakpoint from XMLHttpRequest."),e.registerCommand("DOMDebugger.setBreakOnCSPViolation",[{name:"violationTypes",type:"array",optional:!1,description:"CSP Violations to stop upon.",typeRef:"DOMDebugger.CSPViolationType"}],[],"Sets breakpoint on particular CSP violations."),e.registerCommand("DOMDebugger.setDOMBreakpoint",[{name:"nodeId",type:"number",optional:!1,description:"Identifier of the node to set breakpoint on.",typeRef:"DOM.NodeId"},{name:"type",type:"string",optional:!1,description:"Type of the operation to stop upon.",typeRef:"DOMDebugger.DOMBreakpointType"}],[],"Sets breakpoint on particular operation with DOM."),e.registerCommand("DOMDebugger.setEventListenerBreakpoint",[{name:"eventName",type:"string",optional:!1,description:"DOM Event name to stop on (any DOM event will do).",typeRef:null},{name:"targetName",type:"string",optional:!0,description:'EventTarget interface name to stop on. If equal to `\\"*\\"` or not provided, will stop on any EventTarget.',typeRef:null}],[],"Sets breakpoint on particular DOM event."),e.registerCommand("DOMDebugger.setInstrumentationBreakpoint",[{name:"eventName",type:"string",optional:!1,description:"Instrumentation name to stop on.",typeRef:null}],[],"Sets breakpoint on particular native event."),e.registerCommand("DOMDebugger.setXHRBreakpoint",[{name:"url",type:"string",optional:!1,description:"Resource URL substring. All XHRs having this substring in the URL will get stopped upon.",typeRef:null}],[],"Sets breakpoint on XMLHttpRequest."),e.registerType("DOMDebugger.EventListener",[{name:"type",type:"string",optional:!1,description:"`EventListener`'s type.",typeRef:null},{name:"useCapture",type:"boolean",optional:!1,description:"`EventListener`'s useCapture.",typeRef:null},{name:"passive",type:"boolean",optional:!1,description:"`EventListener`'s passive flag.",typeRef:null},{name:"once",type:"boolean",optional:!1,description:"`EventListener`'s once flag.",typeRef:null},{name:"scriptId",type:"string",optional:!1,description:"Script id of the handler code.",typeRef:"Runtime.ScriptId"},{name:"lineNumber",type:"number",optional:!1,description:"Line number in the script (0-based).",typeRef:null},{name:"columnNumber",type:"number",optional:!1,description:"Column number in the script (0-based).",typeRef:null},{name:"handler",type:"object",optional:!0,description:"Event handler function value.",typeRef:"Runtime.RemoteObject"},{name:"originalHandler",type:"object",optional:!0,description:"Event original handler function value.",typeRef:"Runtime.RemoteObject"},{name:"backendNodeId",type:"number",optional:!0,description:"Node the listener is added to (if any).",typeRef:"DOM.BackendNodeId"}]),e.registerCommand("EventBreakpoints.setInstrumentationBreakpoint",[{name:"eventName",type:"string",optional:!1,description:"Instrumentation name to stop on.",typeRef:null}],[],"Sets breakpoint on particular native event."),e.registerCommand("EventBreakpoints.removeInstrumentationBreakpoint",[{name:"eventName",type:"string",optional:!1,description:"Instrumentation name to stop on.",typeRef:null}],[],"Removes breakpoint on particular native event."),e.registerCommand("EventBreakpoints.disable",[],[],"Removes all breakpoints"),e.registerCommand("DOMSnapshot.disable",[],[],"Disables DOM snapshot agent for the given page."),e.registerCommand("DOMSnapshot.enable",[],[],"Enables DOM snapshot agent for the given page."),e.registerCommand("DOMSnapshot.getSnapshot",[{name:"computedStyleWhitelist",type:"array",optional:!1,description:"Whitelist of computed styles to return.",typeRef:"string"},{name:"includeEventListeners",type:"boolean",optional:!0,description:"Whether or not to retrieve details of DOM listeners (default false).",typeRef:null},{name:"includePaintOrder",type:"boolean",optional:!0,description:"Whether to determine and include the paint order index of LayoutTreeNodes (default false).",typeRef:null},{name:"includeUserAgentShadowTree",type:"boolean",optional:!0,description:"Whether to include UA shadow tree in the snapshot (default false).",typeRef:null}],["domNodes","layoutTreeNodes","computedStyles"],"Returns a document snapshot, including the full DOM tree of the root node (including iframes, template contents, and imported documents) in a flattened array, as well as layout and white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is flattened."),e.registerCommand("DOMSnapshot.captureSnapshot",[{name:"computedStyles",type:"array",optional:!1,description:"Whitelist of computed styles to return.",typeRef:"string"},{name:"includePaintOrder",type:"boolean",optional:!0,description:"Whether to include layout object paint orders into the snapshot.",typeRef:null},{name:"includeDOMRects",type:"boolean",optional:!0,description:"Whether to include DOM rectangles (offsetRects, clientRects, scrollRects) into the snapshot",typeRef:null},{name:"includeBlendedBackgroundColors",type:"boolean",optional:!0,description:"Whether to include blended background colors in the snapshot (default: false). Blended background color is achieved by blending background colors of all elements that overlap with the current element.",typeRef:null},{name:"includeTextColorOpacities",type:"boolean",optional:!0,description:"Whether to include text color opacity in the snapshot (default: false). An element might have the opacity property set that affects the text color of the element. The final text color opacity is computed based on the opacity of all overlapping elements.",typeRef:null}],["documents","strings"],"Returns a document snapshot, including the full DOM tree of the root node (including iframes, template contents, and imported documents) in a flattened array, as well as layout and white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is flattened."),e.registerType("DOMSnapshot.DOMNode",[{name:"nodeType",type:"number",optional:!1,description:"`Node`'s nodeType.",typeRef:null},{name:"nodeName",type:"string",optional:!1,description:"`Node`'s nodeName.",typeRef:null},{name:"nodeValue",type:"string",optional:!1,description:"`Node`'s nodeValue.",typeRef:null},{name:"textValue",type:"string",optional:!0,description:"Only set for textarea elements, contains the text value.",typeRef:null},{name:"inputValue",type:"string",optional:!0,description:"Only set for input elements, contains the input's associated text value.",typeRef:null},{name:"inputChecked",type:"boolean",optional:!0,description:"Only set for radio and checkbox input elements, indicates if the element has been checked",typeRef:null},{name:"optionSelected",type:"boolean",optional:!0,description:"Only set for option elements, indicates if the element has been selected",typeRef:null},{name:"backendNodeId",type:"number",optional:!1,description:"`Node`'s id, corresponds to DOM.Node.backendNodeId.",typeRef:"DOM.BackendNodeId"},{name:"childNodeIndexes",type:"array",optional:!0,description:"The indexes of the node's child nodes in the `domNodes` array returned by `getSnapshot`, if any.",typeRef:"integer"},{name:"attributes",type:"array",optional:!0,description:"Attributes of an `Element` node.",typeRef:"DOMSnapshot.NameValue"},{name:"pseudoElementIndexes",type:"array",optional:!0,description:"Indexes of pseudo elements associated with this node in the `domNodes` array returned by `getSnapshot`, if any.",typeRef:"integer"},{name:"layoutNodeIndex",type:"number",optional:!0,description:"The index of the node's related layout tree node in the `layoutTreeNodes` array returned by `getSnapshot`, if any.",typeRef:null},{name:"documentURL",type:"string",optional:!0,description:"Document URL that `Document` or `FrameOwner` node points to.",typeRef:null},{name:"baseURL",type:"string",optional:!0,description:"Base URL that `Document` or `FrameOwner` node uses for URL completion.",typeRef:null},{name:"contentLanguage",type:"string",optional:!0,description:"Only set for documents, contains the document's content language.",typeRef:null},{name:"documentEncoding",type:"string",optional:!0,description:"Only set for documents, contains the document's character set encoding.",typeRef:null},{name:"publicId",type:"string",optional:!0,description:"`DocumentType` node's publicId.",typeRef:null},{name:"systemId",type:"string",optional:!0,description:"`DocumentType` node's systemId.",typeRef:null},{name:"frameId",type:"string",optional:!0,description:"Frame ID for frame owner elements and also for the document node.",typeRef:"Page.FrameId"},{name:"contentDocumentIndex",type:"number",optional:!0,description:"The index of a frame owner element's content document in the `domNodes` array returned by `getSnapshot`, if any.",typeRef:null},{name:"pseudoType",type:"string",optional:!0,description:"Type of a pseudo element node.",typeRef:"DOM.PseudoType"},{name:"shadowRootType",type:"string",optional:!0,description:"Shadow root type.",typeRef:"DOM.ShadowRootType"},{name:"isClickable",type:"boolean",optional:!0,description:"Whether this DOM node responds to mouse clicks. This includes nodes that have had click event listeners attached via JavaScript as well as anchor tags that naturally navigate when clicked.",typeRef:null},{name:"eventListeners",type:"array",optional:!0,description:"Details of the node's event listeners, if any.",typeRef:"DOMDebugger.EventListener"},{name:"currentSourceURL",type:"string",optional:!0,description:"The selected url for nodes with a srcset attribute.",typeRef:null},{name:"originURL",type:"string",optional:!0,description:"The url of the script (if any) that generates this node.",typeRef:null},{name:"scrollOffsetX",type:"number",optional:!0,description:"Scroll offsets, set when this node is a Document.",typeRef:null},{name:"scrollOffsetY",type:"number",optional:!0,description:"",typeRef:null}]),e.registerType("DOMSnapshot.InlineTextBox",[{name:"boundingBox",type:"object",optional:!1,description:"The bounding box in document coordinates. Note that scroll offset of the document is ignored.",typeRef:"DOM.Rect"},{name:"startCharacterIndex",type:"number",optional:!1,description:"The starting index in characters, for this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2.",typeRef:null},{name:"numCharacters",type:"number",optional:!1,description:"The number of characters in this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2.",typeRef:null}]),e.registerType("DOMSnapshot.LayoutTreeNode",[{name:"domNodeIndex",type:"number",optional:!1,description:"The index of the related DOM node in the `domNodes` array returned by `getSnapshot`.",typeRef:null},{name:"boundingBox",type:"object",optional:!1,description:"The bounding box in document coordinates. Note that scroll offset of the document is ignored.",typeRef:"DOM.Rect"},{name:"layoutText",type:"string",optional:!0,description:"Contents of the LayoutText, if any.",typeRef:null},{name:"inlineTextNodes",type:"array",optional:!0,description:"The post-layout inline text nodes, if any.",typeRef:"DOMSnapshot.InlineTextBox"},{name:"styleIndex",type:"number",optional:!0,description:"Index into the `computedStyles` array returned by `getSnapshot`.",typeRef:null},{name:"paintOrder",type:"number",optional:!0,description:"Global paint order index, which is determined by the stacking order of the nodes. Nodes that are painted together will have the same index. Only provided if includePaintOrder in getSnapshot was true.",typeRef:null},{name:"isStackingContext",type:"boolean",optional:!0,description:"Set to true to indicate the element begins a new stacking context.",typeRef:null}]),e.registerType("DOMSnapshot.ComputedStyle",[{name:"properties",type:"array",optional:!1,description:"Name/value pairs of computed style properties.",typeRef:"DOMSnapshot.NameValue"}]),e.registerType("DOMSnapshot.NameValue",[{name:"name",type:"string",optional:!1,description:"Attribute/property name.",typeRef:null},{name:"value",type:"string",optional:!1,description:"Attribute/property value.",typeRef:null}]),e.registerType("DOMSnapshot.ArrayOfStrings",[{name:"ArrayOfStrings",type:"array",optional:!1,description:"Index of the string in the strings table.",typeRef:"DOMSnapshot.StringIndex"}]),e.registerType("DOMSnapshot.RareStringData",[{name:"index",type:"array",optional:!1,description:"",typeRef:"integer"},{name:"value",type:"array",optional:!1,description:"",typeRef:"DOMSnapshot.StringIndex"}]),e.registerType("DOMSnapshot.RareBooleanData",[{name:"index",type:"array",optional:!1,description:"",typeRef:"integer"}]),e.registerType("DOMSnapshot.RareIntegerData",[{name:"index",type:"array",optional:!1,description:"",typeRef:"integer"},{name:"value",type:"array",optional:!1,description:"",typeRef:"integer"}]),e.registerType("DOMSnapshot.Rectangle",[{name:"Rectangle",type:"array",optional:!1,description:"",typeRef:"number"}]),e.registerType("DOMSnapshot.DocumentSnapshot",[{name:"documentURL",type:"number",optional:!1,description:"Document URL that `Document` or `FrameOwner` node points to.",typeRef:"DOMSnapshot.StringIndex"},{name:"title",type:"number",optional:!1,description:"Document title.",typeRef:"DOMSnapshot.StringIndex"},{name:"baseURL",type:"number",optional:!1,description:"Base URL that `Document` or `FrameOwner` node uses for URL completion.",typeRef:"DOMSnapshot.StringIndex"},{name:"contentLanguage",type:"number",optional:!1,description:"Contains the document's content language.",typeRef:"DOMSnapshot.StringIndex"},{name:"encodingName",type:"number",optional:!1,description:"Contains the document's character set encoding.",typeRef:"DOMSnapshot.StringIndex"},{name:"publicId",type:"number",optional:!1,description:"`DocumentType` node's publicId.",typeRef:"DOMSnapshot.StringIndex"},{name:"systemId",type:"number",optional:!1,description:"`DocumentType` node's systemId.",typeRef:"DOMSnapshot.StringIndex"},{name:"frameId",type:"number",optional:!1,description:"Frame ID for frame owner elements and also for the document node.",typeRef:"DOMSnapshot.StringIndex"},{name:"nodes",type:"object",optional:!1,description:"A table with dom nodes.",typeRef:"DOMSnapshot.NodeTreeSnapshot"},{name:"layout",type:"object",optional:!1,description:"The nodes in the layout tree.",typeRef:"DOMSnapshot.LayoutTreeSnapshot"},{name:"textBoxes",type:"object",optional:!1,description:"The post-layout inline text nodes.",typeRef:"DOMSnapshot.TextBoxSnapshot"},{name:"scrollOffsetX",type:"number",optional:!0,description:"Horizontal scroll offset.",typeRef:null},{name:"scrollOffsetY",type:"number",optional:!0,description:"Vertical scroll offset.",typeRef:null},{name:"contentWidth",type:"number",optional:!0,description:"Document content width.",typeRef:null},{name:"contentHeight",type:"number",optional:!0,description:"Document content height.",typeRef:null}]),e.registerType("DOMSnapshot.NodeTreeSnapshot",[{name:"parentIndex",type:"array",optional:!0,description:"Parent node index.",typeRef:"integer"},{name:"nodeType",type:"array",optional:!0,description:"`Node`'s nodeType.",typeRef:"integer"},{name:"shadowRootType",type:"object",optional:!0,description:"Type of the shadow root the `Node` is in. String values are equal to the `ShadowRootType` enum.",typeRef:"DOMSnapshot.RareStringData"},{name:"nodeName",type:"array",optional:!0,description:"`Node`'s nodeName.",typeRef:"DOMSnapshot.StringIndex"},{name:"nodeValue",type:"array",optional:!0,description:"`Node`'s nodeValue.",typeRef:"DOMSnapshot.StringIndex"},{name:"backendNodeId",type:"array",optional:!0,description:"`Node`'s id, corresponds to DOM.Node.backendNodeId.",typeRef:"DOM.BackendNodeId"},{name:"attributes",type:"array",optional:!0,description:"Attributes of an `Element` node. Flatten name, value pairs.",typeRef:"DOMSnapshot.ArrayOfStrings"},{name:"textValue",type:"object",optional:!0,description:"Only set for textarea elements, contains the text value.",typeRef:"DOMSnapshot.RareStringData"},{name:"inputValue",type:"object",optional:!0,description:"Only set for input elements, contains the input's associated text value.",typeRef:"DOMSnapshot.RareStringData"},{name:"inputChecked",type:"object",optional:!0,description:"Only set for radio and checkbox input elements, indicates if the element has been checked",typeRef:"DOMSnapshot.RareBooleanData"},{name:"optionSelected",type:"object",optional:!0,description:"Only set for option elements, indicates if the element has been selected",typeRef:"DOMSnapshot.RareBooleanData"},{name:"contentDocumentIndex",type:"object",optional:!0,description:"The index of the document in the list of the snapshot documents.",typeRef:"DOMSnapshot.RareIntegerData"},{name:"pseudoType",type:"object",optional:!0,description:"Type of a pseudo element node.",typeRef:"DOMSnapshot.RareStringData"},{name:"pseudoIdentifier",type:"object",optional:!0,description:"Pseudo element identifier for this node. Only present if there is a valid pseudoType.",typeRef:"DOMSnapshot.RareStringData"},{name:"isClickable",type:"object",optional:!0,description:"Whether this DOM node responds to mouse clicks. This includes nodes that have had click event listeners attached via JavaScript as well as anchor tags that naturally navigate when clicked.",typeRef:"DOMSnapshot.RareBooleanData"},{name:"currentSourceURL",type:"object",optional:!0,description:"The selected url for nodes with a srcset attribute.",typeRef:"DOMSnapshot.RareStringData"},{name:"originURL",type:"object",optional:!0,description:"The url of the script (if any) that generates this node.",typeRef:"DOMSnapshot.RareStringData"}]),e.registerType("DOMSnapshot.LayoutTreeSnapshot",[{name:"nodeIndex",type:"array",optional:!1,description:"Index of the corresponding node in the `NodeTreeSnapshot` array returned by `captureSnapshot`.",typeRef:"integer"},{name:"styles",type:"array",optional:!1,description:"Array of indexes specifying computed style strings, filtered according to the `computedStyles` parameter passed to `captureSnapshot`.",typeRef:"DOMSnapshot.ArrayOfStrings"},{name:"bounds",type:"array",optional:!1,description:"The absolute position bounding box.",typeRef:"DOMSnapshot.Rectangle"},{name:"text",type:"array",optional:!1,description:"Contents of the LayoutText, if any.",typeRef:"DOMSnapshot.StringIndex"},{name:"stackingContexts",type:"object",optional:!1,description:"Stacking context information.",typeRef:"DOMSnapshot.RareBooleanData"},{name:"paintOrders",type:"array",optional:!0,description:"Global paint order index, which is determined by the stacking order of the nodes. Nodes that are painted together will have the same index. Only provided if includePaintOrder in captureSnapshot was true.",typeRef:"integer"},{name:"offsetRects",type:"array",optional:!0,description:"The offset rect of nodes. Only available when includeDOMRects is set to true",typeRef:"DOMSnapshot.Rectangle"},{name:"scrollRects",type:"array",optional:!0,description:"The scroll rect of nodes. Only available when includeDOMRects is set to true",typeRef:"DOMSnapshot.Rectangle"},{name:"clientRects",type:"array",optional:!0,description:"The client rect of nodes. Only available when includeDOMRects is set to true",typeRef:"DOMSnapshot.Rectangle"},{name:"blendedBackgroundColors",type:"array",optional:!0,description:"The list of background colors that are blended with colors of overlapping elements.",typeRef:"DOMSnapshot.StringIndex"},{name:"textColorOpacities",type:"array",optional:!0,description:"The list of computed text opacities.",typeRef:"number"}]),e.registerType("DOMSnapshot.TextBoxSnapshot",[{name:"layoutIndex",type:"array",optional:!1,description:"Index of the layout tree node that owns this box collection.",typeRef:"integer"},{name:"bounds",type:"array",optional:!1,description:"The absolute position bounding box.",typeRef:"DOMSnapshot.Rectangle"},{name:"start",type:"array",optional:!1,description:"The starting index in characters, for this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2.",typeRef:"integer"},{name:"length",type:"array",optional:!1,description:"The number of characters in this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2.",typeRef:"integer"}]),e.registerEvent("DOMStorage.domStorageItemAdded",["storageId","key","newValue"]),e.registerEvent("DOMStorage.domStorageItemRemoved",["storageId","key"]),e.registerEvent("DOMStorage.domStorageItemUpdated",["storageId","key","oldValue","newValue"]),e.registerEvent("DOMStorage.domStorageItemsCleared",["storageId"]),e.registerCommand("DOMStorage.clear",[{name:"storageId",type:"object",optional:!1,description:"",typeRef:"DOMStorage.StorageId"}],[],""),e.registerCommand("DOMStorage.disable",[],[],"Disables storage tracking, prevents storage events from being sent to the client."),e.registerCommand("DOMStorage.enable",[],[],"Enables storage tracking, storage events will now be delivered to the client."),e.registerCommand("DOMStorage.getDOMStorageItems",[{name:"storageId",type:"object",optional:!1,description:"",typeRef:"DOMStorage.StorageId"}],["entries"],""),e.registerCommand("DOMStorage.removeDOMStorageItem",[{name:"storageId",type:"object",optional:!1,description:"",typeRef:"DOMStorage.StorageId"},{name:"key",type:"string",optional:!1,description:"",typeRef:null}],[],""),e.registerCommand("DOMStorage.setDOMStorageItem",[{name:"storageId",type:"object",optional:!1,description:"",typeRef:"DOMStorage.StorageId"},{name:"key",type:"string",optional:!1,description:"",typeRef:null},{name:"value",type:"string",optional:!1,description:"",typeRef:null}],[],""),e.registerType("DOMStorage.StorageId",[{name:"securityOrigin",type:"string",optional:!0,description:"Security origin for the storage.",typeRef:null},{name:"storageKey",type:"string",optional:!0,description:"Represents a key by which DOM Storage keys its CachedStorageAreas",typeRef:"DOMStorage.SerializedStorageKey"},{name:"isLocalStorage",type:"boolean",optional:!1,description:"Whether the storage is local storage (not session storage).",typeRef:null}]),e.registerType("DOMStorage.Item",[{name:"Item",type:"array",optional:!1,description:"DOM Storage item.",typeRef:"string"}]),e.registerEvent("Database.addDatabase",["database"]),e.registerCommand("Database.disable",[],[],"Disables database tracking, prevents database events from being sent to the client."),e.registerCommand("Database.enable",[],[],"Enables database tracking, database events will now be delivered to the client."),e.registerCommand("Database.executeSQL",[{name:"databaseId",type:"string",optional:!1,description:"",typeRef:"Database.DatabaseId"},{name:"query",type:"string",optional:!1,description:"",typeRef:null}],["columnNames","values","sqlError"],""),e.registerCommand("Database.getDatabaseTableNames",[{name:"databaseId",type:"string",optional:!1,description:"",typeRef:"Database.DatabaseId"}],["tableNames"],""),e.registerType("Database.Database",[{name:"id",type:"string",optional:!1,description:"Database ID.",typeRef:"Database.DatabaseId"},{name:"domain",type:"string",optional:!1,description:"Database domain.",typeRef:null},{name:"name",type:"string",optional:!1,description:"Database name.",typeRef:null},{name:"version",type:"string",optional:!1,description:"Database version.",typeRef:null}]),e.registerType("Database.Error",[{name:"message",type:"string",optional:!1,description:"Error message.",typeRef:null},{name:"code",type:"number",optional:!1,description:"Error code.",typeRef:null}]),e.registerCommand("DeviceOrientation.clearDeviceOrientationOverride",[],[],"Clears the overridden Device Orientation."),e.registerCommand("DeviceOrientation.setDeviceOrientationOverride",[{name:"alpha",type:"number",optional:!1,description:"Mock alpha",typeRef:null},{name:"beta",type:"number",optional:!1,description:"Mock beta",typeRef:null},{name:"gamma",type:"number",optional:!1,description:"Mock gamma",typeRef:null}],[],"Overrides the Device Orientation."),e.registerEnum("Emulation.ScreenOrientationType",{PortraitPrimary:"portraitPrimary",PortraitSecondary:"portraitSecondary",LandscapePrimary:"landscapePrimary",LandscapeSecondary:"landscapeSecondary"}),e.registerEnum("Emulation.DisplayFeatureOrientation",{Vertical:"vertical",Horizontal:"horizontal"}),e.registerEnum("Emulation.DevicePostureType",{Continuous:"continuous",Folded:"folded"}),e.registerEnum("Emulation.VirtualTimePolicy",{Advance:"advance",Pause:"pause",PauseIfNetworkFetchesPending:"pauseIfNetworkFetchesPending"}),e.registerEnum("Emulation.SensorType",{AbsoluteOrientation:"absolute-orientation",Accelerometer:"accelerometer",AmbientLight:"ambient-light",Gravity:"gravity",Gyroscope:"gyroscope",LinearAcceleration:"linear-acceleration",Magnetometer:"magnetometer",Proximity:"proximity",RelativeOrientation:"relative-orientation"}),e.registerEnum("Emulation.DisabledImageType",{Avif:"avif",Webp:"webp"}),e.registerEvent("Emulation.virtualTimeBudgetExpired",[]),e.registerCommand("Emulation.canEmulate",[],["result"],"Tells whether emulation is supported."),e.registerCommand("Emulation.clearDeviceMetricsOverride",[],[],"Clears the overridden device metrics."),e.registerCommand("Emulation.clearGeolocationOverride",[],[],"Clears the overridden Geolocation Position and Error."),e.registerCommand("Emulation.resetPageScaleFactor",[],[],"Requests that page scale factor is reset to initial values."),e.registerCommand("Emulation.setFocusEmulationEnabled",[{name:"enabled",type:"boolean",optional:!1,description:"Whether to enable to disable focus emulation.",typeRef:null}],[],"Enables or disables simulating a focused and active page."),e.registerCommand("Emulation.setAutoDarkModeOverride",[{name:"enabled",type:"boolean",optional:!0,description:"Whether to enable or disable automatic dark mode. If not specified, any existing override will be cleared.",typeRef:null}],[],"Automatically render all web contents using a dark theme."),e.registerCommand("Emulation.setCPUThrottlingRate",[{name:"rate",type:"number",optional:!1,description:"Throttling rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).",typeRef:null}],[],"Enables CPU throttling to emulate slow CPUs."),e.registerCommand("Emulation.setDefaultBackgroundColorOverride",[{name:"color",type:"object",optional:!0,description:"RGBA of the default background color. If not specified, any existing override will be cleared.",typeRef:"DOM.RGBA"}],[],"Sets or clears an override of the default background color of the frame. This override is used if the content does not specify one."),e.registerCommand("Emulation.setDeviceMetricsOverride",[{name:"width",type:"number",optional:!1,description:"Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.",typeRef:null},{name:"height",type:"number",optional:!1,description:"Overriding height value in pixels (minimum 0, maximum 10000000). 0 disables the override.",typeRef:null},{name:"deviceScaleFactor",type:"number",optional:!1,description:"Overriding device scale factor value. 0 disables the override.",typeRef:null},{name:"mobile",type:"boolean",optional:!1,description:"Whether to emulate mobile device. This includes viewport meta tag, overlay scrollbars, text autosizing and more.",typeRef:null},{name:"scale",type:"number",optional:!0,description:"Scale to apply to resulting view image.",typeRef:null},{name:"screenWidth",type:"number",optional:!0,description:"Overriding screen width value in pixels (minimum 0, maximum 10000000).",typeRef:null},{name:"screenHeight",type:"number",optional:!0,description:"Overriding screen height value in pixels (minimum 0, maximum 10000000).",typeRef:null},{name:"positionX",type:"number",optional:!0,description:"Overriding view X position on screen in pixels (minimum 0, maximum 10000000).",typeRef:null},{name:"positionY",type:"number",optional:!0,description:"Overriding view Y position on screen in pixels (minimum 0, maximum 10000000).",typeRef:null},{name:"dontSetVisibleSize",type:"boolean",optional:!0,description:"Do not set visible view size, rely upon explicit setVisibleSize call.",typeRef:null},{name:"screenOrientation",type:"object",optional:!0,description:"Screen orientation override.",typeRef:"Emulation.ScreenOrientation"},{name:"viewport",type:"object",optional:!0,description:"If set, the visible area of the page will be overridden to this viewport. This viewport change is not observed by the page, e.g. viewport-relative elements do not change positions.",typeRef:"Page.Viewport"},{name:"displayFeature",type:"object",optional:!0,description:"If set, the display feature of a multi-segment screen. If not set, multi-segment support is turned-off.",typeRef:"Emulation.DisplayFeature"},{name:"devicePosture",type:"object",optional:!0,description:"If set, the posture of a foldable device. If not set the posture is set to continuous.",typeRef:"Emulation.DevicePosture"}],[],'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).'),e.registerCommand("Emulation.setScrollbarsHidden",[{name:"hidden",type:"boolean",optional:!1,description:"Whether scrollbars should be always hidden.",typeRef:null}],[],""),e.registerCommand("Emulation.setDocumentCookieDisabled",[{name:"disabled",type:"boolean",optional:!1,description:"Whether document.coookie API should be disabled.",typeRef:null}],[],""),e.registerEnum("Emulation.SetEmitTouchEventsForMouseRequestConfiguration",{Mobile:"mobile",Desktop:"desktop"}),e.registerCommand("Emulation.setEmitTouchEventsForMouse",[{name:"enabled",type:"boolean",optional:!1,description:"Whether touch emulation based on mouse input should be enabled.",typeRef:null},{name:"configuration",type:"string",optional:!0,description:"Touch/gesture events configuration. Default: current platform.",typeRef:"Emulation.SetEmitTouchEventsForMouseRequestConfiguration"}],[],""),e.registerCommand("Emulation.setEmulatedMedia",[{name:"media",type:"string",optional:!0,description:"Media type to emulate. Empty string disables the override.",typeRef:null},{name:"features",type:"array",optional:!0,description:"Media features to emulate.",typeRef:"Emulation.MediaFeature"}],[],"Emulates the given media type or media feature for CSS media queries."),e.registerEnum("Emulation.SetEmulatedVisionDeficiencyRequestType",{None:"none",BlurredVision:"blurredVision",ReducedContrast:"reducedContrast",Achromatopsia:"achromatopsia",Deuteranopia:"deuteranopia",Protanopia:"protanopia",Tritanopia:"tritanopia"}),e.registerCommand("Emulation.setEmulatedVisionDeficiency",[{name:"type",type:"string",optional:!1,description:"Vision deficiency to emulate. Order: best-effort emulations come first, followed by any physiologically accurate emulations for medically recognized color vision deficiencies.",typeRef:"Emulation.SetEmulatedVisionDeficiencyRequestType"}],[],"Emulates the given vision deficiency."),e.registerCommand("Emulation.setGeolocationOverride",[{name:"latitude",type:"number",optional:!0,description:"Mock latitude",typeRef:null},{name:"longitude",type:"number",optional:!0,description:"Mock longitude",typeRef:null},{name:"accuracy",type:"number",optional:!0,description:"Mock accuracy",typeRef:null}],[],"Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable."),e.registerCommand("Emulation.getOverriddenSensorInformation",[{name:"type",type:"string",optional:!1,description:"",typeRef:"Emulation.SensorType"}],["requestedSamplingFrequency"],""),e.registerCommand("Emulation.setSensorOverrideEnabled",[{name:"enabled",type:"boolean",optional:!1,description:"",typeRef:null},{name:"type",type:"string",optional:!1,description:"",typeRef:"Emulation.SensorType"},{name:"metadata",type:"object",optional:!0,description:"",typeRef:"Emulation.SensorMetadata"}],[],"Overrides a platform sensor of a given type. If |enabled| is true, calls to Sensor.start() will use a virtual sensor as backend rather than fetching data from a real hardware sensor. Otherwise, existing virtual sensor-backend Sensor objects will fire an error event and new calls to Sensor.start() will attempt to use a real sensor instead."),e.registerCommand("Emulation.setSensorOverrideReadings",[{name:"type",type:"string",optional:!1,description:"",typeRef:"Emulation.SensorType"},{name:"reading",type:"object",optional:!1,description:"",typeRef:"Emulation.SensorReading"}],[],"Updates the sensor readings reported by a sensor type previously overridden by setSensorOverrideEnabled."),e.registerCommand("Emulation.setIdleOverride",[{name:"isUserActive",type:"boolean",optional:!1,description:"Mock isUserActive",typeRef:null},{name:"isScreenUnlocked",type:"boolean",optional:!1,description:"Mock isScreenUnlocked",typeRef:null}],[],"Overrides the Idle state."),e.registerCommand("Emulation.clearIdleOverride",[],[],"Clears Idle state overrides."),e.registerCommand("Emulation.setNavigatorOverrides",[{name:"platform",type:"string",optional:!1,description:"The platform navigator.platform should return.",typeRef:null}],[],"Overrides value returned by the javascript navigator object."),e.registerCommand("Emulation.setPageScaleFactor",[{name:"pageScaleFactor",type:"number",optional:!1,description:"Page scale factor.",typeRef:null}],[],"Sets a specified page scale factor."),e.registerCommand("Emulation.setScriptExecutionDisabled",[{name:"value",type:"boolean",optional:!1,description:"Whether script execution should be disabled in the page.",typeRef:null}],[],"Switches script execution in the page."),e.registerCommand("Emulation.setTouchEmulationEnabled",[{name:"enabled",type:"boolean",optional:!1,description:"Whether the touch event emulation should be enabled.",typeRef:null},{name:"maxTouchPoints",type:"number",optional:!0,description:"Maximum touch points supported. Defaults to one.",typeRef:null}],[],"Enables touch on platforms which do not support them."),e.registerCommand("Emulation.setVirtualTimePolicy",[{name:"policy",type:"string",optional:!1,description:"",typeRef:"Emulation.VirtualTimePolicy"},{name:"budget",type:"number",optional:!0,description:"If set, after this many virtual milliseconds have elapsed virtual time will be paused and a virtualTimeBudgetExpired event is sent.",typeRef:null},{name:"maxVirtualTimeTaskStarvationCount",type:"number",optional:!0,description:"If set this specifies the maximum number of tasks that can be run before virtual is forced forwards to prevent deadlock.",typeRef:null},{name:"initialVirtualTime",type:"number",optional:!0,description:"If set, base::Time::Now will be overridden to initially return this value.",typeRef:"Network.TimeSinceEpoch"}],["virtualTimeTicksBase"],"Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets the current virtual time policy. Note this supersedes any previous time budget."),e.registerCommand("Emulation.setLocaleOverride",[{name:"locale",type:"string",optional:!0,description:'ICU style C locale (e.g. \\"en_US\\"). If not specified or empty, disables the override and restores default host system locale.',typeRef:null}],[],"Overrides default host system locale with the specified one."),e.registerCommand("Emulation.setTimezoneOverride",[{name:"timezoneId",type:"string",optional:!1,description:"The timezone identifier. List of supported timezones: https://source.chromium.org/chromium/chromium/deps/icu.git/+/faee8bc70570192d82d2978a71e2a615788597d1:source/data/misc/metaZones.txt If empty, disables the override and restores default host system timezone.",typeRef:null}],[],"Overrides default host system timezone with the specified one."),e.registerCommand("Emulation.setVisibleSize",[{name:"width",type:"number",optional:!1,description:"Frame width (DIP).",typeRef:null},{name:"height",type:"number",optional:!1,description:"Frame height (DIP).",typeRef:null}],[],"Resizes the frame/viewport of the page. Note that this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android."),e.registerCommand("Emulation.setDisabledImageTypes",[{name:"imageTypes",type:"array",optional:!1,description:"Image types to disable.",typeRef:"Emulation.DisabledImageType"}],[],""),e.registerCommand("Emulation.setHardwareConcurrencyOverride",[{name:"hardwareConcurrency",type:"number",optional:!1,description:"Hardware concurrency to report",typeRef:null}],[],""),e.registerCommand("Emulation.setUserAgentOverride",[{name:"userAgent",type:"string",optional:!1,description:"User agent to use.",typeRef:null},{name:"acceptLanguage",type:"string",optional:!0,description:"Browser language to emulate.",typeRef:null},{name:"platform",type:"string",optional:!0,description:"The platform navigator.platform should return.",typeRef:null},{name:"userAgentMetadata",type:"object",optional:!0,description:"To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData",typeRef:"Emulation.UserAgentMetadata"}],[],"Allows overriding user agent with the given string. `userAgentMetadata` must be set for Client Hint headers to be sent."),e.registerCommand("Emulation.setAutomationOverride",[{name:"enabled",type:"boolean",optional:!1,description:"Whether the override should be enabled.",typeRef:null}],[],"Allows overriding the automation flag."),e.registerType("Emulation.ScreenOrientation",[{name:"type",type:"string",optional:!1,description:"Orientation type.",typeRef:null},{name:"angle",type:"number",optional:!1,description:"Orientation angle.",typeRef:null}]),e.registerType("Emulation.DisplayFeature",[{name:"orientation",type:"string",optional:!1,description:"Orientation of a display feature in relation to screen",typeRef:null},{name:"offset",type:"number",optional:!1,description:"The offset from the screen origin in either the x (for vertical orientation) or y (for horizontal orientation) direction.",typeRef:null},{name:"maskLength",type:"number",optional:!1,description:"A display feature may mask content such that it is not physically displayed - this length along with the offset describes this area. A display feature that only splits content will have a 0 mask_length.",typeRef:null}]),e.registerType("Emulation.DevicePosture",[{name:"type",type:"string",optional:!1,description:"Current posture of the device",typeRef:null}]),e.registerType("Emulation.MediaFeature",[{name:"name",type:"string",optional:!1,description:"",typeRef:null},{name:"value",type:"string",optional:!1,description:"",typeRef:null}]),e.registerType("Emulation.UserAgentBrandVersion",[{name:"brand",type:"string",optional:!1,description:"",typeRef:null},{name:"version",type:"string",optional:!1,description:"",typeRef:null}]),e.registerType("Emulation.UserAgentMetadata",[{name:"brands",type:"array",optional:!0,description:"Brands appearing in Sec-CH-UA.",typeRef:"Emulation.UserAgentBrandVersion"},{name:"fullVersionList",type:"array",optional:!0,description:"Brands appearing in Sec-CH-UA-Full-Version-List.",typeRef:"Emulation.UserAgentBrandVersion"},{name:"fullVersion",type:"string",optional:!0,description:"",typeRef:null},{name:"platform",type:"string",optional:!1,description:"",typeRef:null},{name:"platformVersion",type:"string",optional:!1,description:"",typeRef:null},{name:"architecture",type:"string",optional:!1,description:"",typeRef:null},{name:"model",type:"string",optional:!1,description:"",typeRef:null},{name:"mobile",type:"boolean",optional:!1,description:"",typeRef:null},{name:"bitness",type:"string",optional:!0,description:"",typeRef:null},{name:"wow64",type:"boolean",optional:!0,description:"",typeRef:null}]),e.registerType("Emulation.SensorMetadata",[{name:"available",type:"boolean",optional:!0,description:"",typeRef:null},{name:"minimumFrequency",type:"number",optional:!0,description:"",typeRef:null},{name:"maximumFrequency",type:"number",optional:!0,description:"",typeRef:null}]),e.registerType("Emulation.SensorReadingSingle",[{name:"value",type:"number",optional:!1,description:"",typeRef:null}]),e.registerType("Emulation.SensorReadingXYZ",[{name:"x",type:"number",optional:!1,description:"",typeRef:null},{name:"y",type:"number",optional:!1,description:"",typeRef:null},{name:"z",type:"number",optional:!1,description:"",typeRef:null}]),e.registerType("Emulation.SensorReadingQuaternion",[{name:"x",type:"number",optional:!1,description:"",typeRef:null},{name:"y",type:"number",optional:!1,description:"",typeRef:null},{name:"z",type:"number",optional:!1,description:"",typeRef:null},{name:"w",type:"number",optional:!1,description:"",typeRef:null}]),e.registerType("Emulation.SensorReading",[{name:"single",type:"object",optional:!0,description:"",typeRef:"Emulation.SensorReadingSingle"},{name:"xyz",type:"object",optional:!0,description:"",typeRef:"Emulation.SensorReadingXYZ"},{name:"quaternion",type:"object",optional:!0,description:"",typeRef:"Emulation.SensorReadingQuaternion"}]),e.registerEnum("HeadlessExperimental.ScreenshotParamsFormat",{Jpeg:"jpeg",Png:"png",Webp:"webp"}),e.registerCommand("HeadlessExperimental.beginFrame",[{name:"frameTimeTicks",type:"number",optional:!0,description:"Timestamp of this BeginFrame in Renderer TimeTicks (milliseconds of uptime). If not set, the current time will be used.",typeRef:null},{name:"interval",type:"number",optional:!0,description:"The interval between BeginFrames that is reported to the compositor, in milliseconds. Defaults to a 60 frames/second interval, i.e. about 16.666 milliseconds.",typeRef:null},{name:"noDisplayUpdates",type:"boolean",optional:!0,description:"Whether updates should not be committed and drawn onto the display. False by default. If true, only side effects of the BeginFrame will be run, such as layout and animations, but any visual updates may not be visible on the display or in screenshots.",typeRef:null},{name:"screenshot",type:"object",optional:!0,description:"If set, a screenshot of the frame will be captured and returned in the response. Otherwise, no screenshot will be captured. Note that capturing a screenshot can fail, for example, during renderer initialization. In such a case, no screenshot data will be returned.",typeRef:"HeadlessExperimental.ScreenshotParams"}],["hasDamage","screenshotData"],"Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a screenshot from the resulting frame. Requires that the target was created with enabled BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also https://goo.gle/chrome-headless-rendering for more background."),e.registerCommand("HeadlessExperimental.disable",[],[],"Disables headless events for the target."),e.registerCommand("HeadlessExperimental.enable",[],[],"Enables headless events for the target."),e.registerType("HeadlessExperimental.ScreenshotParams",[{name:"format",type:"string",optional:!0,description:"Image compression format (defaults to png).",typeRef:null},{name:"quality",type:"number",optional:!0,description:"Compression quality from range [0..100] (jpeg and webp only).",typeRef:null},{name:"optimizeForSpeed",type:"boolean",optional:!0,description:"Optimize image encoding for speed, not for resulting size (defaults to false)",typeRef:null}]),e.registerCommand("IO.close",[{name:"handle",type:"string",optional:!1,description:"Handle of the stream to close.",typeRef:"IO.StreamHandle"}],[],"Close the stream, discard any temporary backing storage."),e.registerCommand("IO.read",[{name:"handle",type:"string",optional:!1,description:"Handle of the stream to read.",typeRef:"IO.StreamHandle"},{name:"offset",type:"number",optional:!0,description:"Seek to the specified offset before reading (if not specified, proceed with offset following the last read). Some types of streams may only support sequential reads.",typeRef:null},{name:"size",type:"number",optional:!0,description:"Maximum number of bytes to read (left upon the agent discretion if not specified).",typeRef:null}],["base64Encoded","data","eof"],"Read a chunk of the stream"),e.registerCommand("IO.resolveBlob",[{name:"objectId",type:"string",optional:!1,description:"Object id of a Blob object wrapper.",typeRef:"Runtime.RemoteObjectId"}],["uuid"],"Return UUID of Blob object specified by a remote object id."),e.registerEnum("IndexedDB.KeyType",{Number:"number",String:"string",Date:"date",Array:"array"}),e.registerEnum("IndexedDB.KeyPathType",{Null:"null",String:"string",Array:"array"}),e.registerCommand("IndexedDB.clearObjectStore",[{name:"securityOrigin",type:"string",optional:!0,description:"At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.",typeRef:null},{name:"storageKey",type:"string",optional:!0,description:"Storage key.",typeRef:null},{name:"storageBucket",type:"object",optional:!0,description:"Storage bucket. If not specified, it uses the default bucket.",typeRef:"Storage.StorageBucket"},{name:"databaseName",type:"string",optional:!1,description:"Database name.",typeRef:null},{name:"objectStoreName",type:"string",optional:!1,description:"Object store name.",typeRef:null}],[],"Clears all entries from an object store."),e.registerCommand("IndexedDB.deleteDatabase",[{name:"securityOrigin",type:"string",optional:!0,description:"At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.",typeRef:null},{name:"storageKey",type:"string",optional:!0,description:"Storage key.",typeRef:null},{name:"storageBucket",type:"object",optional:!0,description:"Storage bucket. If not specified, it uses the default bucket.",typeRef:"Storage.StorageBucket"},{name:"databaseName",type:"string",optional:!1,description:"Database name.",typeRef:null}],[],"Deletes a database."),e.registerCommand("IndexedDB.deleteObjectStoreEntries",[{name:"securityOrigin",type:"string",optional:!0,description:"At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.",typeRef:null},{name:"storageKey",type:"string",optional:!0,description:"Storage key.",typeRef:null},{name:"storageBucket",type:"object",optional:!0,description:"Storage bucket. If not specified, it uses the default bucket.",typeRef:"Storage.StorageBucket"},{name:"databaseName",type:"string",optional:!1,description:"",typeRef:null},{name:"objectStoreName",type:"string",optional:!1,description:"",typeRef:null},{name:"keyRange",type:"object",optional:!1,description:"Range of entry keys to delete",typeRef:"IndexedDB.KeyRange"}],[],"Delete a range of entries from an object store"),e.registerCommand("IndexedDB.disable",[],[],"Disables events from backend."),e.registerCommand("IndexedDB.enable",[],[],"Enables events from backend."),e.registerCommand("IndexedDB.requestData",[{name:"securityOrigin",type:"string",optional:!0,description:"At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.",typeRef:null},{name:"storageKey",type:"string",optional:!0,description:"Storage key.",typeRef:null},{name:"storageBucket",type:"object",optional:!0,description:"Storage bucket. If not specified, it uses the default bucket.",typeRef:"Storage.StorageBucket"},{name:"databaseName",type:"string",optional:!1,description:"Database name.",typeRef:null},{name:"objectStoreName",type:"string",optional:!1,description:"Object store name.",typeRef:null},{name:"indexName",type:"string",optional:!1,description:"Index name, empty string for object store data requests.",typeRef:null},{name:"skipCount",type:"number",optional:!1,description:"Number of records to skip.",typeRef:null},{name:"pageSize",type:"number",optional:!1,description:"Number of records to fetch.",typeRef:null},{name:"keyRange",type:"object",optional:!0,description:"Key range.",typeRef:"IndexedDB.KeyRange"}],["objectStoreDataEntries","hasMore"],"Requests data from object store or index."),e.registerCommand("IndexedDB.getMetadata",[{name:"securityOrigin",type:"string",optional:!0,description:"At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.",typeRef:null},{name:"storageKey",type:"string",optional:!0,description:"Storage key.",typeRef:null},{name:"storageBucket",type:"object",optional:!0,description:"Storage bucket. If not specified, it uses the default bucket.",typeRef:"Storage.StorageBucket"},{name:"databaseName",type:"string",optional:!1,description:"Database name.",typeRef:null},{name:"objectStoreName",type:"string",optional:!1,description:"Object store name.",typeRef:null}],["entriesCount","keyGeneratorValue"],"Gets metadata of an object store."),e.registerCommand("IndexedDB.requestDatabase",[{name:"securityOrigin",type:"string",optional:!0,description:"At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.",typeRef:null},{name:"storageKey",type:"string",optional:!0,description:"Storage key.",typeRef:null},{name:"storageBucket",type:"object",optional:!0,description:"Storage bucket. If not specified, it uses the default bucket.",typeRef:"Storage.StorageBucket"},{name:"databaseName",type:"string",optional:!1,description:"Database name.",typeRef:null}],["databaseWithObjectStores"],"Requests database with given name in given frame."),e.registerCommand("IndexedDB.requestDatabaseNames",[{name:"securityOrigin",type:"string",optional:!0,description:"At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.",typeRef:null},{name:"storageKey",type:"string",optional:!0,description:"Storage key.",typeRef:null},{name:"storageBucket",type:"object",optional:!0,description:"Storage bucket. If not specified, it uses the default bucket.",typeRef:"Storage.StorageBucket"}],["databaseNames"],"Requests database names for given security origin."),e.registerType("IndexedDB.DatabaseWithObjectStores",[{name:"name",type:"string",optional:!1,description:"Database name.",typeRef:null},{name:"version",type:"number",optional:!1,description:"Database version (type is not 'integer', as the standard requires the version number to be 'unsigned long long')",typeRef:null},{name:"objectStores",type:"array",optional:!1,description:"Object stores in this database.",typeRef:"IndexedDB.ObjectStore"}]),e.registerType("IndexedDB.ObjectStore",[{name:"name",type:"string",optional:!1,description:"Object store name.",typeRef:null},{name:"keyPath",type:"object",optional:!1,description:"Object store key path.",typeRef:"IndexedDB.KeyPath"},{name:"autoIncrement",type:"boolean",optional:!1,description:"If true, object store has auto increment flag set.",typeRef:null},{name:"indexes",type:"array",optional:!1,description:"Indexes in this object store.",typeRef:"IndexedDB.ObjectStoreIndex"}]),e.registerType("IndexedDB.ObjectStoreIndex",[{name:"name",type:"string",optional:!1,description:"Index name.",typeRef:null},{name:"keyPath",type:"object",optional:!1,description:"Index key path.",typeRef:"IndexedDB.KeyPath"},{name:"unique",type:"boolean",optional:!1,description:"If true, index is unique.",typeRef:null},{name:"multiEntry",type:"boolean",optional:!1,description:"If true, index allows multiple entries for a key.",typeRef:null}]),e.registerType("IndexedDB.Key",[{name:"type",type:"string",optional:!1,description:"Key type.",typeRef:null},{name:"number",type:"number",optional:!0,description:"Number value.",typeRef:null},{name:"string",type:"string",optional:!0,description:"String value.",typeRef:null},{name:"date",type:"number",optional:!0,description:"Date value.",typeRef:null},{name:"array",type:"array",optional:!0,description:"Array value.",typeRef:"IndexedDB.Key"}]),e.registerType("IndexedDB.KeyRange",[{name:"lower",type:"object",optional:!0,description:"Lower bound.",typeRef:"IndexedDB.Key"},{name:"upper",type:"object",optional:!0,description:"Upper bound.",typeRef:"IndexedDB.Key"},{name:"lowerOpen",type:"boolean",optional:!1,description:"If true lower bound is open.",typeRef:null},{name:"upperOpen",type:"boolean",optional:!1,description:"If true upper bound is open.",typeRef:null}]),e.registerType("IndexedDB.DataEntry",[{name:"key",type:"object",optional:!1,description:"Key object.",typeRef:"Runtime.RemoteObject"},{name:"primaryKey",type:"object",optional:!1,description:"Primary key object.",typeRef:"Runtime.RemoteObject"},{name:"value",type:"object",optional:!1,description:"Value object.",typeRef:"Runtime.RemoteObject"}]),e.registerType("IndexedDB.KeyPath",[{name:"type",type:"string",optional:!1,description:"Key path type.",typeRef:null},{name:"string",type:"string",optional:!0,description:"String value.",typeRef:null},{name:"array",type:"array",optional:!0,description:"Array value.",typeRef:"string"}]),e.registerEnum("Input.GestureSourceType",{Default:"default",Touch:"touch",Mouse:"mouse"}),e.registerEnum("Input.MouseButton",{None:"none",Left:"left",Middle:"middle",Right:"right",Back:"back",Forward:"forward"}),e.registerEvent("Input.dragIntercepted",["data"]),e.registerEnum("Input.DispatchDragEventRequestType",{DragEnter:"dragEnter",DragOver:"dragOver",Drop:"drop",DragCancel:"dragCancel"}),e.registerCommand("Input.dispatchDragEvent",[{name:"type",type:"string",optional:!1,description:"Type of the drag event.",typeRef:"Input.DispatchDragEventRequestType"},{name:"x",type:"number",optional:!1,description:"X coordinate of the event relative to the main frame's viewport in CSS pixels.",typeRef:null},{name:"y",type:"number",optional:!1,description:"Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport.",typeRef:null},{name:"data",type:"object",optional:!1,description:"",typeRef:"Input.DragData"},{name:"modifiers",type:"number",optional:!0,description:"Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).",typeRef:null}],[],"Dispatches a drag event into the page."),e.registerEnum("Input.DispatchKeyEventRequestType",{KeyDown:"keyDown",KeyUp:"keyUp",RawKeyDown:"rawKeyDown",Char:"char"}),e.registerCommand("Input.dispatchKeyEvent",[{name:"type",type:"string",optional:!1,description:"Type of the key event.",typeRef:"Input.DispatchKeyEventRequestType"},{name:"modifiers",type:"number",optional:!0,description:"Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).",typeRef:null},{name:"timestamp",type:"number",optional:!0,description:"Time at which the event occurred.",typeRef:"Input.TimeSinceEpoch"},{name:"text",type:"string",optional:!0,description:'Text as generated by processing a virtual key code with a keyboard layout. Not needed for for `keyUp` and `rawKeyDown` events (default: \\"\\")',typeRef:null},{name:"unmodifiedText",type:"string",optional:!0,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: \\"\\").',typeRef:null},{name:"keyIdentifier",type:"string",optional:!0,description:"Unique key identifier (e.g., 'U+0041') (default: \\\"\\\").",typeRef:null},{name:"code",type:"string",optional:!0,description:"Unique DOM defined string value for each physical key (e.g., 'KeyA') (default: \\\"\\\").",typeRef:null},{name:"key",type:"string",optional:!0,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: \\\"\\\").",typeRef:null},{name:"windowsVirtualKeyCode",type:"number",optional:!0,description:"Windows virtual key code (default: 0).",typeRef:null},{name:"nativeVirtualKeyCode",type:"number",optional:!0,description:"Native virtual key code (default: 0).",typeRef:null},{name:"autoRepeat",type:"boolean",optional:!0,description:"Whether the event was generated from auto repeat (default: false).",typeRef:null},{name:"isKeypad",type:"boolean",optional:!0,description:"Whether the event was generated from the keypad (default: false).",typeRef:null},{name:"isSystemKey",type:"boolean",optional:!0,description:"Whether the event was a system key event (default: false).",typeRef:null},{name:"location",type:"number",optional:!0,description:"Whether the event was from the left or right side of the keyboard. 1=Left, 2=Right (default: 0).",typeRef:null},{name:"commands",type:"array",optional:!0,description:"Editing commands to send with the key event (e.g., 'selectAll') (default: []). These are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding. See https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names.",typeRef:"string"}],[],"Dispatches a key event to the page."),e.registerCommand("Input.insertText",[{name:"text",type:"string",optional:!1,description:"The text to insert.",typeRef:null}],[],"This method emulates inserting text that doesn't come from a key press, for example an emoji keyboard or an IME."),e.registerCommand("Input.imeSetComposition",[{name:"text",type:"string",optional:!1,description:"The text to insert",typeRef:null},{name:"selectionStart",type:"number",optional:!1,description:"selection start",typeRef:null},{name:"selectionEnd",type:"number",optional:!1,description:"selection end",typeRef:null},{name:"replacementStart",type:"number",optional:!0,description:"replacement start",typeRef:null},{name:"replacementEnd",type:"number",optional:!0,description:"replacement end",typeRef:null}],[],"This method sets the current candidate text for IME. Use imeCommitComposition to commit the final text. Use imeSetComposition with empty string as text to cancel composition."),e.registerEnum("Input.DispatchMouseEventRequestType",{MousePressed:"mousePressed",MouseReleased:"mouseReleased",MouseMoved:"mouseMoved",MouseWheel:"mouseWheel"}),e.registerEnum("Input.DispatchMouseEventRequestPointerType",{Mouse:"mouse",Pen:"pen"}),e.registerCommand("Input.dispatchMouseEvent",[{name:"type",type:"string",optional:!1,description:"Type of the mouse event.",typeRef:"Input.DispatchMouseEventRequestType"},{name:"x",type:"number",optional:!1,description:"X coordinate of the event relative to the main frame's viewport in CSS pixels.",typeRef:null},{name:"y",type:"number",optional:!1,description:"Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport.",typeRef:null},{name:"modifiers",type:"number",optional:!0,description:"Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).",typeRef:null},{name:"timestamp",type:"number",optional:!0,description:"Time at which the event occurred.",typeRef:"Input.TimeSinceEpoch"},{name:"button",type:"string",optional:!0,description:'Mouse button (default: \\"none\\").',typeRef:"Input.MouseButton"},{name:"buttons",type:"number",optional:!0,description:"A number indicating which buttons are pressed on the mouse when a mouse event is triggered. Left=1, Right=2, Middle=4, Back=8, Forward=16, None=0.",typeRef:null},{name:"clickCount",type:"number",optional:!0,description:"Number of times the mouse button was clicked (default: 0).",typeRef:null},{name:"force",type:"number",optional:!0,description:"The normalized pressure, which has a range of [0,1] (default: 0).",typeRef:null},{name:"tangentialPressure",type:"number",optional:!0,description:"The normalized tangential pressure, which has a range of [-1,1] (default: 0).",typeRef:null},{name:"tiltX",type:"number",optional:!0,description:"The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0).",typeRef:null},{name:"tiltY",type:"number",optional:!0,description:"The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0).",typeRef:null},{name:"twist",type:"number",optional:!0,description:"The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0).",typeRef:null},{name:"deltaX",type:"number",optional:!0,description:"X delta in CSS pixels for mouse wheel event (default: 0).",typeRef:null},{name:"deltaY",type:"number",optional:!0,description:"Y delta in CSS pixels for mouse wheel event (default: 0).",typeRef:null},{name:"pointerType",type:"string",optional:!0,description:'Pointer type (default: \\"mouse\\").',typeRef:"Input.DispatchMouseEventRequestPointerType"}],[],"Dispatches a mouse event to the page."),e.registerEnum("Input.DispatchTouchEventRequestType",{TouchStart:"touchStart",TouchEnd:"touchEnd",TouchMove:"touchMove",TouchCancel:"touchCancel"}),e.registerCommand("Input.dispatchTouchEvent",[{name:"type",type:"string",optional:!1,description:"Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while TouchStart and TouchMove must contains at least one.",typeRef:"Input.DispatchTouchEventRequestType"},{name:"touchPoints",type:"array",optional:!1,description:"Active touch points on the touch device. One event per any changed point (compared to previous touch event in a sequence) is generated, emulating pressing/moving/releasing points one by one.",typeRef:"Input.TouchPoint"},{name:"modifiers",type:"number",optional:!0,description:"Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).",typeRef:null},{name:"timestamp",type:"number",optional:!0,description:"Time at which the event occurred.",typeRef:"Input.TimeSinceEpoch"}],[],"Dispatches a touch event to the page."),e.registerCommand("Input.cancelDragging",[],[],"Cancels any active dragging in the page."),e.registerEnum("Input.EmulateTouchFromMouseEventRequestType",{MousePressed:"mousePressed",MouseReleased:"mouseReleased",MouseMoved:"mouseMoved",MouseWheel:"mouseWheel"}),e.registerCommand("Input.emulateTouchFromMouseEvent",[{name:"type",type:"string",optional:!1,description:"Type of the mouse event.",typeRef:"Input.EmulateTouchFromMouseEventRequestType"},{name:"x",type:"number",optional:!1,description:"X coordinate of the mouse pointer in DIP.",typeRef:null},{name:"y",type:"number",optional:!1,description:"Y coordinate of the mouse pointer in DIP.",typeRef:null},{name:"button",type:"string",optional:!1,description:'Mouse button. Only \\"none\\", \\"left\\", \\"right\\" are supported.',typeRef:"Input.MouseButton"},{name:"timestamp",type:"number",optional:!0,description:"Time at which the event occurred (default: current time).",typeRef:"Input.TimeSinceEpoch"},{name:"deltaX",type:"number",optional:!0,description:"X delta in DIP for mouse wheel event (default: 0).",typeRef:null},{name:"deltaY",type:"number",optional:!0,description:"Y delta in DIP for mouse wheel event (default: 0).",typeRef:null},{name:"modifiers",type:"number",optional:!0,description:"Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).",typeRef:null},{name:"clickCount",type:"number",optional:!0,description:"Number of times the mouse button was clicked (default: 0).",typeRef:null}],[],"Emulates touch event from the mouse event parameters."),e.registerCommand("Input.setIgnoreInputEvents",[{name:"ignore",type:"boolean",optional:!1,description:"Ignores input events processing when set to true.",typeRef:null}],[],"Ignores input events (useful while auditing page)."),e.registerCommand("Input.setInterceptDrags",[{name:"enabled",type:"boolean",optional:!1,description:"",typeRef:null}],[],"Prevents default drag and drop behavior and instead emits `Input.dragIntercepted` events. Drag and drop behavior can be directly controlled via `Input.dispatchDragEvent`."),e.registerCommand("Input.synthesizePinchGesture",[{name:"x",type:"number",optional:!1,description:"X coordinate of the start of the gesture in CSS pixels.",typeRef:null},{name:"y",type:"number",optional:!1,description:"Y coordinate of the start of the gesture in CSS pixels.",typeRef:null},{name:"scaleFactor",type:"number",optional:!1,description:"Relative scale factor after zooming (>1.0 zooms in, <1.0 zooms out).",typeRef:null},{name:"relativeSpeed",type:"number",optional:!0,description:"Relative pointer speed in pixels per second (default: 800).",typeRef:null},{name:"gestureSourceType",type:"string",optional:!0,description:"Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).",typeRef:"Input.GestureSourceType"}],[],"Synthesizes a pinch gesture over a time period by issuing appropriate touch events."),e.registerCommand("Input.synthesizeScrollGesture",[{name:"x",type:"number",optional:!1,description:"X coordinate of the start of the gesture in CSS pixels.",typeRef:null},{name:"y",type:"number",optional:!1,description:"Y coordinate of the start of the gesture in CSS pixels.",typeRef:null},{name:"xDistance",type:"number",optional:!0,description:"The distance to scroll along the X axis (positive to scroll left).",typeRef:null},{name:"yDistance",type:"number",optional:!0,description:"The distance to scroll along the Y axis (positive to scroll up).",typeRef:null},{name:"xOverscroll",type:"number",optional:!0,description:"The number of additional pixels to scroll back along the X axis, in addition to the given distance.",typeRef:null},{name:"yOverscroll",type:"number",optional:!0,description:"The number of additional pixels to scroll back along the Y axis, in addition to the given distance.",typeRef:null},{name:"preventFling",type:"boolean",optional:!0,description:"Prevent fling (default: true).",typeRef:null},{name:"speed",type:"number",optional:!0,description:"Swipe speed in pixels per second (default: 800).",typeRef:null},{name:"gestureSourceType",type:"string",optional:!0,description:"Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).",typeRef:"Input.GestureSourceType"},{name:"repeatCount",type:"number",optional:!0,description:"The number of times to repeat the gesture (default: 0).",typeRef:null},{name:"repeatDelayMs",type:"number",optional:!0,description:"The number of milliseconds delay between each repeat. (default: 250).",typeRef:null},{name:"interactionMarkerName",type:"string",optional:!0,description:'The name of the interaction markers to generate, if not empty (default: \\"\\").',typeRef:null}],[],"Synthesizes a scroll gesture over a time period by issuing appropriate touch events."),e.registerCommand("Input.synthesizeTapGesture",[{name:"x",type:"number",optional:!1,description:"X coordinate of the start of the gesture in CSS pixels.",typeRef:null},{name:"y",type:"number",optional:!1,description:"Y coordinate of the start of the gesture in CSS pixels.",typeRef:null},{name:"duration",type:"number",optional:!0,description:"Duration between touchdown and touchup events in ms (default: 50).",typeRef:null},{name:"tapCount",type:"number",optional:!0,description:"Number of times to perform the tap (e.g. 2 for double tap, default: 1).",typeRef:null},{name:"gestureSourceType",type:"string",optional:!0,description:"Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).",typeRef:"Input.GestureSourceType"}],[],"Synthesizes a tap gesture over a time period by issuing appropriate touch events."),e.registerType("Input.TouchPoint",[{name:"x",type:"number",optional:!1,description:"X coordinate of the event relative to the main frame's viewport in CSS pixels.",typeRef:null},{name:"y",type:"number",optional:!1,description:"Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport.",typeRef:null},{name:"radiusX",type:"number",optional:!0,description:"X radius of the touch area (default: 1.0).",typeRef:null},{name:"radiusY",type:"number",optional:!0,description:"Y radius of the touch area (default: 1.0).",typeRef:null},{name:"rotationAngle",type:"number",optional:!0,description:"Rotation angle (default: 0.0).",typeRef:null},{name:"force",type:"number",optional:!0,description:"Force (default: 1.0).",typeRef:null},{name:"tangentialPressure",type:"number",optional:!0,description:"The normalized tangential pressure, which has a range of [-1,1] (default: 0).",typeRef:null},{name:"tiltX",type:"number",optional:!0,description:"The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0)",typeRef:null},{name:"tiltY",type:"number",optional:!0,description:"The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0).",typeRef:null},{name:"twist",type:"number",optional:!0,description:"The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0).",typeRef:null},{name:"id",type:"number",optional:!0,description:"Identifier used to track touch sources between events, must be unique within an event.",typeRef:null}]),e.registerType("Input.DragDataItem",[{name:"mimeType",type:"string",optional:!1,description:"Mime type of the dragged data.",typeRef:null},{name:"data",type:"string",optional:!1,description:"Depending of the value of `mimeType`, it contains the dragged link, text, HTML markup or any other data.",typeRef:null},{name:"title",type:"string",optional:!0,description:'Title associated with a link. Only valid when `mimeType` == \\"text/uri-list\\".',typeRef:null},{name:"baseURL",type:"string",optional:!0,description:'Stores the base URL for the contained markup. Only valid when `mimeType` == \\"text/html\\".',typeRef:null}]),e.registerType("Input.DragData",[{name:"items",type:"array",optional:!1,description:"",typeRef:"Input.DragDataItem"},{name:"files",type:"array",optional:!0,description:"List of filenames that should be included when dropping",typeRef:"string"},{name:"dragOperationsMask",type:"number",optional:!1,description:"Bit field representing allowed drag operations. Copy = 1, Link = 2, Move = 16",typeRef:null}]),e.registerEvent("Inspector.detached",["reason"]),e.registerEvent("Inspector.targetCrashed",[]),e.registerEvent("Inspector.targetReloadedAfterCrash",[]),e.registerCommand("Inspector.disable",[],[],"Disables inspector domain notifications."),e.registerCommand("Inspector.enable",[],[],"Enables inspector domain notifications."),e.registerEnum("LayerTree.ScrollRectType",{RepaintsOnScroll:"RepaintsOnScroll",TouchEventHandler:"TouchEventHandler",WheelEventHandler:"WheelEventHandler"}),e.registerEvent("LayerTree.layerPainted",["layerId","clip"]),e.registerEvent("LayerTree.layerTreeDidChange",["layers"]),e.registerCommand("LayerTree.compositingReasons",[{name:"layerId",type:"string",optional:!1,description:"The id of the layer for which we want to get the reasons it was composited.",typeRef:"LayerTree.LayerId"}],["compositingReasons","compositingReasonIds"],"Provides the reasons why the given layer was composited."),e.registerCommand("LayerTree.disable",[],[],"Disables compositing tree inspection."),e.registerCommand("LayerTree.enable",[],[],"Enables compositing tree inspection."),e.registerCommand("LayerTree.loadSnapshot",[{name:"tiles",type:"array",optional:!1,description:"An array of tiles composing the snapshot.",typeRef:"LayerTree.PictureTile"}],["snapshotId"],"Returns the snapshot identifier."),e.registerCommand("LayerTree.makeSnapshot",[{name:"layerId",type:"string",optional:!1,description:"The id of the layer.",typeRef:"LayerTree.LayerId"}],["snapshotId"],"Returns the layer snapshot identifier."),e.registerCommand("LayerTree.profileSnapshot",[{name:"snapshotId",type:"string",optional:!1,description:"The id of the layer snapshot.",typeRef:"LayerTree.SnapshotId"},{name:"minRepeatCount",type:"number",optional:!0,description:"The maximum number of times to replay the snapshot (1, if not specified).",typeRef:null},{name:"minDuration",type:"number",optional:!0,description:"The minimum duration (in seconds) to replay the snapshot.",typeRef:null},{name:"clipRect",type:"object",optional:!0,description:"The clip rectangle to apply when replaying the snapshot.",typeRef:"DOM.Rect"}],["timings"],""),e.registerCommand("LayerTree.releaseSnapshot",[{name:"snapshotId",type:"string",optional:!1,description:"The id of the layer snapshot.",typeRef:"LayerTree.SnapshotId"}],[],"Releases layer snapshot captured by the back-end."),e.registerCommand("LayerTree.replaySnapshot",[{name:"snapshotId",type:"string",optional:!1,description:"The id of the layer snapshot.",typeRef:"LayerTree.SnapshotId"},{name:"fromStep",type:"number",optional:!0,description:"The first step to replay from (replay from the very start if not specified).",typeRef:null},{name:"toStep",type:"number",optional:!0,description:"The last step to replay to (replay till the end if not specified).",typeRef:null},{name:"scale",type:"number",optional:!0,description:"The scale to apply while replaying (defaults to 1).",typeRef:null}],["dataURL"],"Replays the layer snapshot and returns the resulting bitmap."),e.registerCommand("LayerTree.snapshotCommandLog",[{name:"snapshotId",type:"string",optional:!1,description:"The id of the layer snapshot.",typeRef:"LayerTree.SnapshotId"}],["commandLog"],"Replays the layer snapshot and returns canvas log."),e.registerType("LayerTree.ScrollRect",[{name:"rect",type:"object",optional:!1,description:"Rectangle itself.",typeRef:"DOM.Rect"},{name:"type",type:"string",optional:!1,description:"Reason for rectangle to force scrolling on the main thread",typeRef:null}]),e.registerType("LayerTree.StickyPositionConstraint",[{name:"stickyBoxRect",type:"object",optional:!1,description:"Layout rectangle of the sticky element before being shifted",typeRef:"DOM.Rect"},{name:"containingBlockRect",type:"object",optional:!1,description:"Layout rectangle of the containing block of the sticky element",typeRef:"DOM.Rect"},{name:"nearestLayerShiftingStickyBox",type:"string",optional:!0,description:"The nearest sticky layer that shifts the sticky box",typeRef:"LayerTree.LayerId"},{name:"nearestLayerShiftingContainingBlock",type:"string",optional:!0,description:"The nearest sticky layer that shifts the containing block",typeRef:"LayerTree.LayerId"}]),e.registerType("LayerTree.PictureTile",[{name:"x",type:"number",optional:!1,description:"Offset from owning layer left boundary",typeRef:null},{name:"y",type:"number",optional:!1,description:"Offset from owning layer top boundary",typeRef:null},{name:"picture",type:"string",optional:!1,description:"Base64-encoded snapshot data.",typeRef:null}]),e.registerType("LayerTree.Layer",[{name:"layerId",type:"string",optional:!1,description:"The unique id for this layer.",typeRef:"LayerTree.LayerId"},{name:"parentLayerId",type:"string",optional:!0,description:"The id of parent (not present for root).",typeRef:"LayerTree.LayerId"},{name:"backendNodeId",type:"number",optional:!0,description:"The backend id for the node associated with this layer.",typeRef:"DOM.BackendNodeId"},{name:"offsetX",type:"number",optional:!1,description:"Offset from parent layer, X coordinate.",typeRef:null},{name:"offsetY",type:"number",optional:!1,description:"Offset from parent layer, Y coordinate.",typeRef:null},{name:"width",type:"number",optional:!1,description:"Layer width.",typeRef:null},{name:"height",type:"number",optional:!1,description:"Layer height.",typeRef:null},{name:"transform",type:"array",optional:!0,description:"Transformation matrix for layer, default is identity matrix",typeRef:"number"},{name:"anchorX",type:"number",optional:!0,description:"Transform anchor point X, absent if no transform specified",typeRef:null},{name:"anchorY",type:"number",optional:!0,description:"Transform anchor point Y, absent if no transform specified",typeRef:null},{name:"anchorZ",type:"number",optional:!0,description:"Transform anchor point Z, absent if no transform specified",typeRef:null},{name:"paintCount",type:"number",optional:!1,description:"Indicates how many time this layer has painted.",typeRef:null},{name:"drawsContent",type:"boolean",optional:!1,description:"Indicates whether this layer hosts any content, rather than being used for transform/scrolling purposes only.",typeRef:null},{name:"invisible",type:"boolean",optional:!0,description:"Set if layer is not visible.",typeRef:null},{name:"scrollRects",type:"array",optional:!0,description:"Rectangles scrolling on main thread only.",typeRef:"LayerTree.ScrollRect"},{name:"stickyPositionConstraint",type:"object",optional:!0,description:"Sticky position constraint information",typeRef:"LayerTree.StickyPositionConstraint"}]),e.registerType("LayerTree.PaintProfile",[{name:"PaintProfile",type:"array",optional:!1,description:"Array of timings, one per paint step.",typeRef:"number"}]),e.registerEnum("Log.LogEntrySource",{XML:"xml",Javascript:"javascript",Network:"network",Storage:"storage",Appcache:"appcache",Rendering:"rendering",Security:"security",Deprecation:"deprecation",Worker:"worker",Violation:"violation",Intervention:"intervention",Recommendation:"recommendation",Other:"other"}),e.registerEnum("Log.LogEntryLevel",{Verbose:"verbose",Info:"info",Warning:"warning",Error:"error"}),e.registerEnum("Log.LogEntryCategory",{Cors:"cors"}),e.registerEnum("Log.ViolationSettingName",{LongTask:"longTask",LongLayout:"longLayout",BlockedEvent:"blockedEvent",BlockedParser:"blockedParser",DiscouragedAPIUse:"discouragedAPIUse",Handler:"handler",RecurringHandler:"recurringHandler"}),e.registerEvent("Log.entryAdded",["entry"]),e.registerCommand("Log.clear",[],[],"Clears the log."),e.registerCommand("Log.disable",[],[],"Disables log domain, prevents further log entries from being reported to the client."),e.registerCommand("Log.enable",[],[],"Enables log domain, sends the entries collected so far to the client by means of the `entryAdded` notification."),e.registerCommand("Log.startViolationsReport",[{name:"config",type:"array",optional:!1,description:"Configuration for violations.",typeRef:"Log.ViolationSetting"}],[],"start violation reporting."),e.registerCommand("Log.stopViolationsReport",[],[],"Stop violation reporting."),e.registerType("Log.LogEntry",[{name:"source",type:"string",optional:!1,description:"Log entry source.",typeRef:null},{name:"level",type:"string",optional:!1,description:"Log entry severity.",typeRef:null},{name:"text",type:"string",optional:!1,description:"Logged text.",typeRef:null},{name:"category",type:"string",optional:!0,description:"",typeRef:null},{name:"timestamp",type:"number",optional:!1,description:"Timestamp when this entry was added.",typeRef:"Runtime.Timestamp"},{name:"url",type:"string",optional:!0,description:"URL of the resource if known.",typeRef:null},{name:"lineNumber",type:"number",optional:!0,description:"Line number in the resource.",typeRef:null},{name:"stackTrace",type:"object",optional:!0,description:"JavaScript stack trace.",typeRef:"Runtime.StackTrace"},{name:"networkRequestId",type:"string",optional:!0,description:"Identifier of the network request associated with this entry.",typeRef:"Network.RequestId"},{name:"workerId",type:"string",optional:!0,description:"Identifier of the worker associated with this entry.",typeRef:null},{name:"args",type:"array",optional:!0,description:"Call arguments.",typeRef:"Runtime.RemoteObject"}]),e.registerType("Log.ViolationSetting",[{name:"name",type:"string",optional:!1,description:"Violation type.",typeRef:null},{name:"threshold",type:"number",optional:!1,description:"Time threshold to trigger upon.",typeRef:null}]),e.registerEnum("Memory.PressureLevel",{Moderate:"moderate",Critical:"critical"}),e.registerCommand("Memory.getDOMCounters",[],["documents","nodes","jsEventListeners"],""),e.registerCommand("Memory.prepareForLeakDetection",[],[],""),e.registerCommand("Memory.forciblyPurgeJavaScriptMemory",[],[],"Simulate OomIntervention by purging V8 memory."),e.registerCommand("Memory.setPressureNotificationsSuppressed",[{name:"suppressed",type:"boolean",optional:!1,description:"If true, memory pressure notifications will be suppressed.",typeRef:null}],[],"Enable/disable suppressing memory pressure notifications in all processes."),e.registerCommand("Memory.simulatePressureNotification",[{name:"level",type:"string",optional:!1,description:"Memory pressure level of the notification.",typeRef:"Memory.PressureLevel"}],[],"Simulate a memory pressure notification in all processes."),e.registerCommand("Memory.startSampling",[{name:"samplingInterval",type:"number",optional:!0,description:"Average number of bytes between samples.",typeRef:null},{name:"suppressRandomness",type:"boolean",optional:!0,description:"Do not randomize intervals between samples.",typeRef:null}],[],"Start collecting native memory profile."),e.registerCommand("Memory.stopSampling",[],[],"Stop collecting native memory profile."),e.registerCommand("Memory.getAllTimeSamplingProfile",[],["profile"],"Retrieve native memory allocations profile collected since renderer process startup."),e.registerCommand("Memory.getBrowserSamplingProfile",[],["profile"],"Retrieve native memory allocations profile collected since browser process startup."),e.registerCommand("Memory.getSamplingProfile",[],["profile"],"Retrieve native memory allocations profile collected since last `startSampling` call."),e.registerType("Memory.SamplingProfileNode",[{name:"size",type:"number",optional:!1,description:"Size of the sampled allocation.",typeRef:null},{name:"total",type:"number",optional:!1,description:"Total bytes attributed to this sample.",typeRef:null},{name:"stack",type:"array",optional:!1,description:"Execution stack at the point of allocation.",typeRef:"string"}]),e.registerType("Memory.SamplingProfile",[{name:"samples",type:"array",optional:!1,description:"",typeRef:"Memory.SamplingProfileNode"},{name:"modules",type:"array",optional:!1,description:"",typeRef:"Memory.Module"}]),e.registerType("Memory.Module",[{name:"name",type:"string",optional:!1,description:"Name of the module.",typeRef:null},{name:"uuid",type:"string",optional:!1,description:"UUID of the module.",typeRef:null},{name:"baseAddress",type:"string",optional:!1,description:"Base address where the module is loaded into memory. Encoded as a decimal or hexadecimal (0x prefixed) string.",typeRef:null},{name:"size",type:"number",optional:!1,description:"Size of the module in bytes.",typeRef:null}]),e.registerEnum("Network.ResourceType",{Document:"Document",Stylesheet:"Stylesheet",Image:"Image",Media:"Media",Font:"Font",Script:"Script",TextTrack:"TextTrack",XHR:"XHR",Fetch:"Fetch",Prefetch:"Prefetch",EventSource:"EventSource",WebSocket:"WebSocket",Manifest:"Manifest",SignedExchange:"SignedExchange",Ping:"Ping",CSPViolationReport:"CSPViolationReport",Preflight:"Preflight",Other:"Other"}),e.registerEnum("Network.ErrorReason",{Failed:"Failed",Aborted:"Aborted",TimedOut:"TimedOut",AccessDenied:"AccessDenied",ConnectionClosed:"ConnectionClosed",ConnectionReset:"ConnectionReset",ConnectionRefused:"ConnectionRefused",ConnectionAborted:"ConnectionAborted",ConnectionFailed:"ConnectionFailed",NameNotResolved:"NameNotResolved",InternetDisconnected:"InternetDisconnected",AddressUnreachable:"AddressUnreachable",BlockedByClient:"BlockedByClient",BlockedByResponse:"BlockedByResponse"}),e.registerEnum("Network.ConnectionType",{None:"none",Cellular2g:"cellular2g",Cellular3g:"cellular3g",Cellular4g:"cellular4g",Bluetooth:"bluetooth",Ethernet:"ethernet",Wifi:"wifi",Wimax:"wimax",Other:"other"}),e.registerEnum("Network.CookieSameSite",{Strict:"Strict",Lax:"Lax",None:"None"}),e.registerEnum("Network.CookiePriority",{Low:"Low",Medium:"Medium",High:"High"}),e.registerEnum("Network.CookieSourceScheme",{Unset:"Unset",NonSecure:"NonSecure",Secure:"Secure"}),e.registerEnum("Network.ResourcePriority",{VeryLow:"VeryLow",Low:"Low",Medium:"Medium",High:"High",VeryHigh:"VeryHigh"}),e.registerEnum("Network.RequestReferrerPolicy",{UnsafeUrl:"unsafe-url",NoReferrerWhenDowngrade:"no-referrer-when-downgrade",NoReferrer:"no-referrer",Origin:"origin",OriginWhenCrossOrigin:"origin-when-cross-origin",SameOrigin:"same-origin",StrictOrigin:"strict-origin",StrictOriginWhenCrossOrigin:"strict-origin-when-cross-origin"}),e.registerEnum("Network.CertificateTransparencyCompliance",{Unknown:"unknown",NotCompliant:"not-compliant",Compliant:"compliant"}),e.registerEnum("Network.BlockedReason",{Other:"other",Csp:"csp",MixedContent:"mixed-content",Origin:"origin",Inspector:"inspector",SubresourceFilter:"subresource-filter",ContentType:"content-type",CoepFrameResourceNeedsCoepHeader:"coep-frame-resource-needs-coep-header",CoopSandboxedIframeCannotNavigateToCoopPage:"coop-sandboxed-iframe-cannot-navigate-to-coop-page",CorpNotSameOrigin:"corp-not-same-origin",CorpNotSameOriginAfterDefaultedToSameOriginByCoep:"corp-not-same-origin-after-defaulted-to-same-origin-by-coep",CorpNotSameSite:"corp-not-same-site"}),e.registerEnum("Network.CorsError",{DisallowedByMode:"DisallowedByMode",InvalidResponse:"InvalidResponse",WildcardOriginNotAllowed:"WildcardOriginNotAllowed",MissingAllowOriginHeader:"MissingAllowOriginHeader",MultipleAllowOriginValues:"MultipleAllowOriginValues",InvalidAllowOriginValue:"InvalidAllowOriginValue",AllowOriginMismatch:"AllowOriginMismatch",InvalidAllowCredentials:"InvalidAllowCredentials",CorsDisabledScheme:"CorsDisabledScheme",PreflightInvalidStatus:"PreflightInvalidStatus",PreflightDisallowedRedirect:"PreflightDisallowedRedirect",PreflightWildcardOriginNotAllowed:"PreflightWildcardOriginNotAllowed",PreflightMissingAllowOriginHeader:"PreflightMissingAllowOriginHeader",PreflightMultipleAllowOriginValues:"PreflightMultipleAllowOriginValues",PreflightInvalidAllowOriginValue:"PreflightInvalidAllowOriginValue",PreflightAllowOriginMismatch:"PreflightAllowOriginMismatch",PreflightInvalidAllowCredentials:"PreflightInvalidAllowCredentials",PreflightMissingAllowExternal:"PreflightMissingAllowExternal",PreflightInvalidAllowExternal:"PreflightInvalidAllowExternal",PreflightMissingAllowPrivateNetwork:"PreflightMissingAllowPrivateNetwork",PreflightInvalidAllowPrivateNetwork:"PreflightInvalidAllowPrivateNetwork",InvalidAllowMethodsPreflightResponse:"InvalidAllowMethodsPreflightResponse",InvalidAllowHeadersPreflightResponse:"InvalidAllowHeadersPreflightResponse",MethodDisallowedByPreflightResponse:"MethodDisallowedByPreflightResponse",HeaderDisallowedByPreflightResponse:"HeaderDisallowedByPreflightResponse",RedirectContainsCredentials:"RedirectContainsCredentials",InsecurePrivateNetwork:"InsecurePrivateNetwork",InvalidPrivateNetworkAccess:"InvalidPrivateNetworkAccess",UnexpectedPrivateNetworkAccess:"UnexpectedPrivateNetworkAccess",NoCorsRedirectModeNotFollow:"NoCorsRedirectModeNotFollow",PreflightMissingPrivateNetworkAccessId:"PreflightMissingPrivateNetworkAccessId",PreflightMissingPrivateNetworkAccessName:"PreflightMissingPrivateNetworkAccessName",PrivateNetworkAccessPermissionUnavailable:"PrivateNetworkAccessPermissionUnavailable",PrivateNetworkAccessPermissionDenied:"PrivateNetworkAccessPermissionDenied"}),e.registerEnum("Network.ServiceWorkerResponseSource",{CacheStorage:"cache-storage",HttpCache:"http-cache",FallbackCode:"fallback-code",Network:"network"}),e.registerEnum("Network.TrustTokenParamsRefreshPolicy",{UseCached:"UseCached",Refresh:"Refresh"}),e.registerEnum("Network.TrustTokenOperationType",{Issuance:"Issuance",Redemption:"Redemption",Signing:"Signing"}),e.registerEnum("Network.AlternateProtocolUsage",{AlternativeJobWonWithoutRace:"alternativeJobWonWithoutRace",AlternativeJobWonRace:"alternativeJobWonRace",MainJobWonRace:"mainJobWonRace",MappingMissing:"mappingMissing",Broken:"broken",DnsAlpnH3JobWonWithoutRace:"dnsAlpnH3JobWonWithoutRace",DnsAlpnH3JobWonRace:"dnsAlpnH3JobWonRace",UnspecifiedReason:"unspecifiedReason"}),e.registerEnum("Network.ServiceWorkerRouterSource",{Network:"network",Cache:"cache",FetchEvent:"fetch-event",RaceNetworkAndFetchHandler:"race-network-and-fetch-handler"}),e.registerEnum("Network.InitiatorType",{Parser:"parser",Script:"script",Preload:"preload",SignedExchange:"SignedExchange",Preflight:"preflight",Other:"other"}),e.registerEnum("Network.SetCookieBlockedReason",{SecureOnly:"SecureOnly",SameSiteStrict:"SameSiteStrict",SameSiteLax:"SameSiteLax",SameSiteUnspecifiedTreatedAsLax:"SameSiteUnspecifiedTreatedAsLax",SameSiteNoneInsecure:"SameSiteNoneInsecure",UserPreferences:"UserPreferences",ThirdPartyPhaseout:"ThirdPartyPhaseout",ThirdPartyBlockedInFirstPartySet:"ThirdPartyBlockedInFirstPartySet",SyntaxError:"SyntaxError",SchemeNotSupported:"SchemeNotSupported",OverwriteSecure:"OverwriteSecure",InvalidDomain:"InvalidDomain",InvalidPrefix:"InvalidPrefix",UnknownError:"UnknownError",SchemefulSameSiteStrict:"SchemefulSameSiteStrict",SchemefulSameSiteLax:"SchemefulSameSiteLax",SchemefulSameSiteUnspecifiedTreatedAsLax:"SchemefulSameSiteUnspecifiedTreatedAsLax",SamePartyFromCrossPartyContext:"SamePartyFromCrossPartyContext",SamePartyConflictsWithOtherAttributes:"SamePartyConflictsWithOtherAttributes",NameValuePairExceedsMaxSize:"NameValuePairExceedsMaxSize",DisallowedCharacter:"DisallowedCharacter",NoCookieContent:"NoCookieContent"}),e.registerEnum("Network.CookieBlockedReason",{SecureOnly:"SecureOnly",NotOnPath:"NotOnPath",DomainMismatch:"DomainMismatch",SameSiteStrict:"SameSiteStrict",SameSiteLax:"SameSiteLax",SameSiteUnspecifiedTreatedAsLax:"SameSiteUnspecifiedTreatedAsLax",SameSiteNoneInsecure:"SameSiteNoneInsecure",UserPreferences:"UserPreferences",ThirdPartyPhaseout:"ThirdPartyPhaseout",ThirdPartyBlockedInFirstPartySet:"ThirdPartyBlockedInFirstPartySet",UnknownError:"UnknownError",SchemefulSameSiteStrict:"SchemefulSameSiteStrict",SchemefulSameSiteLax:"SchemefulSameSiteLax",SchemefulSameSiteUnspecifiedTreatedAsLax:"SchemefulSameSiteUnspecifiedTreatedAsLax",SamePartyFromCrossPartyContext:"SamePartyFromCrossPartyContext",NameValuePairExceedsMaxSize:"NameValuePairExceedsMaxSize"}),e.registerEnum("Network.CookieExemptionReason",{None:"None",UserSetting:"UserSetting",TPCDMetadata:"TPCDMetadata",TPCDDeprecationTrial:"TPCDDeprecationTrial",TPCDHeuristics:"TPCDHeuristics",EnterprisePolicy:"EnterprisePolicy",StorageAccess:"StorageAccess",TopLevelStorageAccess:"TopLevelStorageAccess",CorsOptIn:"CorsOptIn"}),e.registerEnum("Network.AuthChallengeSource",{Server:"Server",Proxy:"Proxy"}),e.registerEnum("Network.AuthChallengeResponseResponse",{Default:"Default",CancelAuth:"CancelAuth",ProvideCredentials:"ProvideCredentials"}),e.registerEnum("Network.InterceptionStage",{Request:"Request",HeadersReceived:"HeadersReceived"}),e.registerEnum("Network.SignedExchangeErrorField",{SignatureSig:"signatureSig",SignatureIntegrity:"signatureIntegrity",SignatureCertUrl:"signatureCertUrl",SignatureCertSha256:"signatureCertSha256",SignatureValidityUrl:"signatureValidityUrl",SignatureTimestamps:"signatureTimestamps"}),e.registerEnum("Network.ContentEncoding",{Deflate:"deflate",Gzip:"gzip",Br:"br",Zstd:"zstd"}),e.registerEnum("Network.PrivateNetworkRequestPolicy",{Allow:"Allow",BlockFromInsecureToMorePrivate:"BlockFromInsecureToMorePrivate",WarnFromInsecureToMorePrivate:"WarnFromInsecureToMorePrivate",PreflightBlock:"PreflightBlock",PreflightWarn:"PreflightWarn"}),e.registerEnum("Network.IPAddressSpace",{Local:"Local",Private:"Private",Public:"Public",Unknown:"Unknown"}),e.registerEnum("Network.CrossOriginOpenerPolicyValue",{SameOrigin:"SameOrigin",SameOriginAllowPopups:"SameOriginAllowPopups",RestrictProperties:"RestrictProperties",UnsafeNone:"UnsafeNone",SameOriginPlusCoep:"SameOriginPlusCoep",RestrictPropertiesPlusCoep:"RestrictPropertiesPlusCoep"}),e.registerEnum("Network.CrossOriginEmbedderPolicyValue",{None:"None",Credentialless:"Credentialless",RequireCorp:"RequireCorp"}),e.registerEnum("Network.ContentSecurityPolicySource",{HTTP:"HTTP",Meta:"Meta"}),e.registerEnum("Network.ReportStatus",{Queued:"Queued",Pending:"Pending",MarkedForRemoval:"MarkedForRemoval",Success:"Success"}),e.registerEvent("Network.dataReceived",["requestId","timestamp","dataLength","encodedDataLength","data"]),e.registerEvent("Network.eventSourceMessageReceived",["requestId","timestamp","eventName","eventId","data"]),e.registerEvent("Network.loadingFailed",["requestId","timestamp","type","errorText","canceled","blockedReason","corsErrorStatus"]),e.registerEvent("Network.loadingFinished",["requestId","timestamp","encodedDataLength"]),e.registerEvent("Network.requestIntercepted",["interceptionId","request","frameId","resourceType","isNavigationRequest","isDownload","redirectUrl","authChallenge","responseErrorReason","responseStatusCode","responseHeaders","requestId"]),e.registerEvent("Network.requestServedFromCache",["requestId"]),e.registerEvent("Network.requestWillBeSent",["requestId","loaderId","documentURL","request","timestamp","wallTime","initiator","redirectHasExtraInfo","redirectResponse","type","frameId","hasUserGesture"]),e.registerEvent("Network.resourceChangedPriority",["requestId","newPriority","timestamp"]),e.registerEvent("Network.signedExchangeReceived",["requestId","info"]),e.registerEvent("Network.responseReceived",["requestId","loaderId","timestamp","type","response","hasExtraInfo","frameId"]),e.registerEvent("Network.webSocketClosed",["requestId","timestamp"]),e.registerEvent("Network.webSocketCreated",["requestId","url","initiator"]),e.registerEvent("Network.webSocketFrameError",["requestId","timestamp","errorMessage"]),e.registerEvent("Network.webSocketFrameReceived",["requestId","timestamp","response"]),e.registerEvent("Network.webSocketFrameSent",["requestId","timestamp","response"]),e.registerEvent("Network.webSocketHandshakeResponseReceived",["requestId","timestamp","response"]),e.registerEvent("Network.webSocketWillSendHandshakeRequest",["requestId","timestamp","wallTime","request"]),e.registerEvent("Network.webTransportCreated",["transportId","url","timestamp","initiator"]),e.registerEvent("Network.webTransportConnectionEstablished",["transportId","timestamp"]),e.registerEvent("Network.webTransportClosed",["transportId","timestamp"]),e.registerEvent("Network.requestWillBeSentExtraInfo",["requestId","associatedCookies","headers","connectTiming","clientSecurityState","siteHasCookieInOtherPartition"]),e.registerEvent("Network.responseReceivedExtraInfo",["requestId","blockedCookies","headers","resourceIPAddressSpace","statusCode","headersText","cookiePartitionKey","cookiePartitionKeyOpaque","exemptedCookies"]),e.registerEnum("Network.TrustTokenOperationDoneEventStatus",{Ok:"Ok",InvalidArgument:"InvalidArgument",MissingIssuerKeys:"MissingIssuerKeys",FailedPrecondition:"FailedPrecondition",ResourceExhausted:"ResourceExhausted",AlreadyExists:"AlreadyExists",Unavailable:"Unavailable",Unauthorized:"Unauthorized",BadResponse:"BadResponse",InternalError:"InternalError",UnknownError:"UnknownError",FulfilledLocally:"FulfilledLocally"}),e.registerEvent("Network.trustTokenOperationDone",["status","type","requestId","topLevelOrigin","issuerOrigin","issuedTokenCount"]),e.registerEvent("Network.subresourceWebBundleMetadataReceived",["requestId","urls"]),e.registerEvent("Network.subresourceWebBundleMetadataError",["requestId","errorMessage"]),e.registerEvent("Network.subresourceWebBundleInnerResponseParsed",["innerRequestId","innerRequestURL","bundleRequestId"]),e.registerEvent("Network.subresourceWebBundleInnerResponseError",["innerRequestId","innerRequestURL","errorMessage","bundleRequestId"]),e.registerEvent("Network.reportingApiReportAdded",["report"]),e.registerEvent("Network.reportingApiReportUpdated",["report"]),e.registerEvent("Network.reportingApiEndpointsChangedForOrigin",["origin","endpoints"]),e.registerCommand("Network.setAcceptedEncodings",[{name:"encodings",type:"array",optional:!1,description:"List of accepted content encodings.",typeRef:"Network.ContentEncoding"}],[],"Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted."),e.registerCommand("Network.clearAcceptedEncodingsOverride",[],[],"Clears accepted encodings set by setAcceptedEncodings"),e.registerCommand("Network.canClearBrowserCache",[],["result"],"Tells whether clearing browser cache is supported."),e.registerCommand("Network.canClearBrowserCookies",[],["result"],"Tells whether clearing browser cookies is supported."),e.registerCommand("Network.canEmulateNetworkConditions",[],["result"],"Tells whether emulation of network conditions is supported."),e.registerCommand("Network.clearBrowserCache",[],[],"Clears browser cache."),e.registerCommand("Network.clearBrowserCookies",[],[],"Clears browser cookies."),e.registerCommand("Network.continueInterceptedRequest",[{name:"interceptionId",type:"string",optional:!1,description:"",typeRef:"Network.InterceptionId"},{name:"errorReason",type:"string",optional:!0,description:"If set this causes the request to fail with the given reason. Passing `Aborted` for requests marked with `isNavigationRequest` also cancels the navigation. Must not be set in response to an authChallenge.",typeRef:"Network.ErrorReason"},{name:"rawResponse",type:"string",optional:!0,description:"If set the requests completes using with the provided base64 encoded raw response, including HTTP status line and headers etc... Must not be set in response to an authChallenge.",typeRef:null},{name:"url",type:"string",optional:!0,description:"If set the request url will be modified in a way that's not observable by page. Must not be set in response to an authChallenge.",typeRef:null},{name:"method",type:"string",optional:!0,description:"If set this allows the request method to be overridden. Must not be set in response to an authChallenge.",typeRef:null},{name:"postData",type:"string",optional:!0,description:"If set this allows postData to be set. Must not be set in response to an authChallenge.",typeRef:null},{name:"headers",type:"object",optional:!0,description:"If set this allows the request headers to be changed. Must not be set in response to an authChallenge.",typeRef:"Network.Headers"},{name:"authChallengeResponse",type:"object",optional:!0,description:"Response to a requestIntercepted with an authChallenge. Must not be set otherwise.",typeRef:"Network.AuthChallengeResponse"}],[],"Response to Network.requestIntercepted which either modifies the request to continue with any modifications, or blocks it, or completes it with the provided response bytes. If a network fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted event will be sent with the same InterceptionId. Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead."),e.registerCommand("Network.deleteCookies",[{name:"name",type:"string",optional:!1,description:"Name of the cookies to remove.",typeRef:null},{name:"url",type:"string",optional:!0,description:"If specified, deletes all the cookies with the given name where domain and path match provided URL.",typeRef:null},{name:"domain",type:"string",optional:!0,description:"If specified, deletes only cookies with the exact domain.",typeRef:null},{name:"path",type:"string",optional:!0,description:"If specified, deletes only cookies with the exact path.",typeRef:null},{name:"partitionKey",type:"string",optional:!0,description:"If specified, deletes only cookies with the the given name and partitionKey where domain matches provided URL.",typeRef:null}],[],"Deletes browser cookies with matching name and url or domain/path/partitionKey pair."),e.registerCommand("Network.disable",[],[],"Disables network tracking, prevents network events from being sent to the client."),e.registerCommand("Network.emulateNetworkConditions",[{name:"offline",type:"boolean",optional:!1,description:"True to emulate internet disconnection.",typeRef:null},{name:"latency",type:"number",optional:!1,description:"Minimum latency from request sent to response headers received (ms).",typeRef:null},{name:"downloadThroughput",type:"number",optional:!1,description:"Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.",typeRef:null},{name:"uploadThroughput",type:"number",optional:!1,description:"Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.",typeRef:null},{name:"connectionType",type:"string",optional:!0,description:"Connection type if known.",typeRef:"Network.ConnectionType"}],[],"Activates emulation of network conditions."),e.registerCommand("Network.enable",[{name:"maxTotalBufferSize",type:"number",optional:!0,description:"Buffer size in bytes to use when preserving network payloads (XHRs, etc).",typeRef:null},{name:"maxResourceBufferSize",type:"number",optional:!0,description:"Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).",typeRef:null},{name:"maxPostDataSize",type:"number",optional:!0,description:"Longest post body size (in bytes) that would be included in requestWillBeSent notification",typeRef:null}],[],"Enables network tracking, network events will now be delivered to the client."),e.registerCommand("Network.getAllCookies",[],["cookies"],"Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the `cookies` field. Deprecated. Use Storage.getCookies instead."),e.registerCommand("Network.getCertificate",[{name:"origin",type:"string",optional:!1,description:"Origin to get certificate for.",typeRef:null}],["tableNames"],"Returns the DER-encoded certificate."),e.registerCommand("Network.getCookies",[{name:"urls",type:"array",optional:!0,description:"The list of URLs for which applicable cookies will be fetched. If not specified, it's assumed to be set to the list containing the URLs of the page and all of its subframes.",typeRef:"string"}],["cookies"],"Returns all browser cookies for the current URL. Depending on the backend support, will return detailed cookie information in the `cookies` field."),e.registerCommand("Network.getResponseBody",[{name:"requestId",type:"string",optional:!1,description:"Identifier of the network request to get content for.",typeRef:"Network.RequestId"}],["body","base64Encoded"],"Returns content served for the given request."),e.registerCommand("Network.getRequestPostData",[{name:"requestId",type:"string",optional:!1,description:"Identifier of the network request to get content for.",typeRef:"Network.RequestId"}],["postData"],"Returns post data sent with the request. Returns an error when no data was sent with the request."),e.registerCommand("Network.getResponseBodyForInterception",[{name:"interceptionId",type:"string",optional:!1,description:"Identifier for the intercepted request to get body for.",typeRef:"Network.InterceptionId"}],["body","base64Encoded"],"Returns content served for the given currently intercepted request."),e.registerCommand("Network.takeResponseBodyForInterceptionAsStream",[{name:"interceptionId",type:"string",optional:!1,description:"",typeRef:"Network.InterceptionId"}],["stream"],"Returns a handle to the stream representing the response body. Note that after this command, the intercepted request can't be continued as is -- you either need to cancel it or to provide the response body. The stream only supports sequential read, IO.read will fail if the position is specified."),e.registerCommand("Network.replayXHR",[{name:"requestId",type:"string",optional:!1,description:"Identifier of XHR to replay.",typeRef:"Network.RequestId"}],[],"This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password."),e.registerCommand("Network.searchInResponseBody",[{name:"requestId",type:"string",optional:!1,description:"Identifier of the network response to search.",typeRef:"Network.RequestId"},{name:"query",type:"string",optional:!1,description:"String to search for.",typeRef:null},{name:"caseSensitive",type:"boolean",optional:!0,description:"If true, search is case sensitive.",typeRef:null},{name:"isRegex",type:"boolean",optional:!0,description:"If true, treats string parameter as regex.",typeRef:null}],["result"],"Searches for given string in response content."),e.registerCommand("Network.setBlockedURLs",[{name:"urls",type:"array",optional:!1,description:"URL patterns to block. Wildcards ('*') are allowed.",typeRef:"string"}],[],"Blocks URLs from loading."),e.registerCommand("Network.setBypassServiceWorker",[{name:"bypass",type:"boolean",optional:!1,description:"Bypass service worker and load from network.",typeRef:null}],[],"Toggles ignoring of service worker for each request."),e.registerCommand("Network.setCacheDisabled",[{name:"cacheDisabled",type:"boolean",optional:!1,description:"Cache disabled state.",typeRef:null}],[],"Toggles ignoring cache for each request. If `true`, cache will not be used."),e.registerCommand("Network.setCookie",[{name:"name",type:"string",optional:!1,description:"Cookie name.",typeRef:null},{name:"value",type:"string",optional:!1,description:"Cookie value.",typeRef:null},{name:"url",type:"string",optional:!0,description:"The request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie.",typeRef:null},{name:"domain",type:"string",optional:!0,description:"Cookie domain.",typeRef:null},{name:"path",type:"string",optional:!0,description:"Cookie path.",typeRef:null},{name:"secure",type:"boolean",optional:!0,description:"True if cookie is secure.",typeRef:null},{name:"httpOnly",type:"boolean",optional:!0,description:"True if cookie is http-only.",typeRef:null},{name:"sameSite",type:"string",optional:!0,description:"Cookie SameSite type.",typeRef:"Network.CookieSameSite"},{name:"expires",type:"number",optional:!0,description:"Cookie expiration date, session cookie if not set",typeRef:"Network.TimeSinceEpoch"},{name:"priority",type:"string",optional:!0,description:"Cookie Priority type.",typeRef:"Network.CookiePriority"},{name:"sameParty",type:"boolean",optional:!0,description:"True if cookie is SameParty.",typeRef:null},{name:"sourceScheme",type:"string",optional:!0,description:"Cookie source scheme type.",typeRef:"Network.CookieSourceScheme"},{name:"sourcePort",type:"number",optional:!0,description:"Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. This is a temporary ability and it will be removed in the future.",typeRef:null},{name:"partitionKey",type:"string",optional:!0,description:"Cookie partition key. The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie. If not set, the cookie will be set as not partitioned.",typeRef:null}],["success"],"Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist."),e.registerCommand("Network.setCookies",[{name:"cookies",type:"array",optional:!1,description:"Cookies to be set.",typeRef:"Network.CookieParam"}],[],"Sets given cookies."),e.registerCommand("Network.setExtraHTTPHeaders",[{name:"headers",type:"object",optional:!1,description:"Map with extra HTTP headers.",typeRef:"Network.Headers"}],[],"Specifies whether to always send extra HTTP headers with the requests from this page."),e.registerCommand("Network.setAttachDebugStack",[{name:"enabled",type:"boolean",optional:!1,description:"Whether to attach a page script stack for debugging purpose.",typeRef:null}],[],"Specifies whether to attach a page script stack id in requests"),e.registerCommand("Network.setRequestInterception",[{name:"patterns",type:"array",optional:!1,description:"Requests matching any of these patterns will be forwarded and wait for the corresponding continueInterceptedRequest call.",typeRef:"Network.RequestPattern"}],[],"Sets the requests to intercept that match the provided patterns and optionally resource types. Deprecated, please use Fetch.enable instead."),e.registerCommand("Network.setUserAgentOverride",[{name:"userAgent",type:"string",optional:!1,description:"User agent to use.",typeRef:null},{name:"acceptLanguage",type:"string",optional:!0,description:"Browser language to emulate.",typeRef:null},{name:"platform",type:"string",optional:!0,description:"The platform navigator.platform should return.",typeRef:null},{name:"userAgentMetadata",type:"object",optional:!0,description:"To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData",typeRef:"Emulation.UserAgentMetadata"}],[],"Allows overriding user agent with the given string."),e.registerCommand("Network.streamResourceContent",[{name:"requestId",type:"string",optional:!1,description:"Identifier of the request to stream.",typeRef:"Network.RequestId"}],["bufferedData"],"Enables streaming of the response for the given requestId. If enabled, the dataReceived event contains the data that was received during streaming."),e.registerCommand("Network.getSecurityIsolationStatus",[{name:"frameId",type:"string",optional:!0,description:"If no frameId is provided, the status of the target is provided.",typeRef:"Page.FrameId"}],["status"],"Returns information about the COEP/COOP isolation status."),e.registerCommand("Network.enableReportingApi",[{name:"enable",type:"boolean",optional:!1,description:"Whether to enable or disable events for the Reporting API",typeRef:null}],[],"Enables tracking for the Reporting API, events generated by the Reporting API will now be delivered to the client. Enabling triggers 'reportingApiReportAdded' for all existing reports."),e.registerCommand("Network.loadNetworkResource",[{name:"frameId",type:"string",optional:!0,description:"Frame id to get the resource for. Mandatory for frame targets, and should be omitted for worker targets.",typeRef:"Page.FrameId"},{name:"url",type:"string",optional:!1,description:"URL of the resource to get content for.",typeRef:null},{name:"options",type:"object",optional:!1,description:"Options for the request.",typeRef:"Network.LoadNetworkResourceOptions"}],["resource"],"Fetches the resource and returns the content."),e.registerType("Network.ResourceTiming",[{name:"requestTime",type:"number",optional:!1,description:"Timing's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime.",typeRef:null},{name:"proxyStart",type:"number",optional:!1,description:"Started resolving proxy.",typeRef:null},{name:"proxyEnd",type:"number",optional:!1,description:"Finished resolving proxy.",typeRef:null},{name:"dnsStart",type:"number",optional:!1,description:"Started DNS address resolve.",typeRef:null},{name:"dnsEnd",type:"number",optional:!1,description:"Finished DNS address resolve.",typeRef:null},{name:"connectStart",type:"number",optional:!1,description:"Started connecting to the remote host.",typeRef:null},{name:"connectEnd",type:"number",optional:!1,description:"Connected to the remote host.",typeRef:null},{name:"sslStart",type:"number",optional:!1,description:"Started SSL handshake.",typeRef:null},{name:"sslEnd",type:"number",optional:!1,description:"Finished SSL handshake.",typeRef:null},{name:"workerStart",type:"number",optional:!1,description:"Started running ServiceWorker.",typeRef:null},{name:"workerReady",type:"number",optional:!1,description:"Finished Starting ServiceWorker.",typeRef:null},{name:"workerFetchStart",type:"number",optional:!1,description:"Started fetch event.",typeRef:null},{name:"workerRespondWithSettled",type:"number",optional:!1,description:"Settled fetch event respondWith promise.",typeRef:null},{name:"sendStart",type:"number",optional:!1,description:"Started sending request.",typeRef:null},{name:"sendEnd",type:"number",optional:!1,description:"Finished sending request.",typeRef:null},{name:"pushStart",type:"number",optional:!1,description:"Time the server started pushing request.",typeRef:null},{name:"pushEnd",type:"number",optional:!1,description:"Time the server finished pushing request.",typeRef:null},{name:"receiveHeadersStart",type:"number",optional:!1,description:"Started receiving response headers.",typeRef:null},{name:"receiveHeadersEnd",type:"number",optional:!1,description:"Finished receiving response headers.",typeRef:null}]),e.registerType("Network.PostDataEntry",[{name:"bytes",type:"string",optional:!0,description:"",typeRef:null}]),e.registerType("Network.Request",[{name:"url",type:"string",optional:!1,description:"Request URL (without fragment).",typeRef:null},{name:"urlFragment",type:"string",optional:!0,description:"Fragment of the requested URL starting with hash, if present.",typeRef:null},{name:"method",type:"string",optional:!1,description:"HTTP request method.",typeRef:null},{name:"headers",type:"object",optional:!1,description:"HTTP request headers.",typeRef:"Network.Headers"},{name:"postData",type:"string",optional:!0,description:"HTTP POST request data.",typeRef:null},{name:"hasPostData",type:"boolean",optional:!0,description:"True when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long.",typeRef:null},{name:"postDataEntries",type:"array",optional:!0,description:"Request body elements. This will be converted from base64 to binary",typeRef:"Network.PostDataEntry"},{name:"mixedContentType",type:"string",optional:!0,description:"The mixed content type of the request.",typeRef:"Security.MixedContentType"},{name:"initialPriority",type:"string",optional:!1,description:"Priority of the resource request at the time request is sent.",typeRef:"Network.ResourcePriority"},{name:"referrerPolicy",type:"string",optional:!1,description:"The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/",typeRef:null},{name:"isLinkPreload",type:"boolean",optional:!0,description:"Whether is loaded via link preload.",typeRef:null},{name:"trustTokenParams",type:"object",optional:!0,description:'Set for requests when the TrustToken API is used. Contains the parameters passed by the developer (e.g. via \\"fetch\\") as understood by the backend.',typeRef:"Network.TrustTokenParams"},{name:"isSameSite",type:"boolean",optional:!0,description:"True if this resource request is considered to be the 'same site' as the request corresponding to the main frame.",typeRef:null}]),e.registerType("Network.SignedCertificateTimestamp",[{name:"status",type:"string",optional:!1,description:"Validation status.",typeRef:null},{name:"origin",type:"string",optional:!1,description:"Origin.",typeRef:null},{name:"logDescription",type:"string",optional:!1,description:"Log name / description.",typeRef:null},{name:"logId",type:"string",optional:!1,description:"Log ID.",typeRef:null},{name:"timestamp",type:"number",optional:!1,description:"Issuance date. Unlike TimeSinceEpoch, this contains the number of milliseconds since January 1, 1970, UTC, not the number of seconds.",typeRef:null},{name:"hashAlgorithm",type:"string",optional:!1,description:"Hash algorithm.",typeRef:null},{name:"signatureAlgorithm",type:"string",optional:!1,description:"Signature algorithm.",typeRef:null},{name:"signatureData",type:"string",optional:!1,description:"Signature data.",typeRef:null}]),e.registerType("Network.SecurityDetails",[{name:"protocol",type:"string",optional:!1,description:'Protocol name (e.g. \\"TLS 1.2\\" or \\"QUIC\\").',typeRef:null},{name:"keyExchange",type:"string",optional:!1,description:"Key Exchange used by the connection, or the empty string if not applicable.",typeRef:null},{name:"keyExchangeGroup",type:"string",optional:!0,description:"(EC)DH group used by the connection, if applicable.",typeRef:null},{name:"cipher",type:"string",optional:!1,description:"Cipher name.",typeRef:null},{name:"mac",type:"string",optional:!0,description:"TLS MAC. Note that AEAD ciphers do not have separate MACs.",typeRef:null},{name:"certificateId",type:"number",optional:!1,description:"Certificate ID value.",typeRef:"Security.CertificateId"},{name:"subjectName",type:"string",optional:!1,description:"Certificate subject name.",typeRef:null},{name:"sanList",type:"array",optional:!1,description:"Subject Alternative Name (SAN) DNS names and IP addresses.",typeRef:"string"},{name:"issuer",type:"string",optional:!1,description:"Name of the issuing CA.",typeRef:null},{name:"validFrom",type:"number",optional:!1,description:"Certificate valid from date.",typeRef:"Network.TimeSinceEpoch"},{name:"validTo",type:"number",optional:!1,description:"Certificate valid to (expiration) date",typeRef:"Network.TimeSinceEpoch"},{name:"signedCertificateTimestampList",type:"array",optional:!1,description:"List of signed certificate timestamps (SCTs).",typeRef:"Network.SignedCertificateTimestamp"},{name:"certificateTransparencyCompliance",type:"string",optional:!1,description:"Whether the request complied with Certificate Transparency policy",typeRef:"Network.CertificateTransparencyCompliance"},{name:"serverSignatureAlgorithm",type:"number",optional:!0,description:"The signature algorithm used by the server in the TLS server signature, represented as a TLS SignatureScheme code point. Omitted if not applicable or not known.",typeRef:null},{name:"encryptedClientHello",type:"boolean",optional:!1,description:"Whether the connection used Encrypted ClientHello",typeRef:null}]),e.registerType("Network.CorsErrorStatus",[{name:"corsError",type:"string",optional:!1,description:"",typeRef:"Network.CorsError"},{name:"failedParameter",type:"string",optional:!1,description:"",typeRef:null}]),e.registerType("Network.TrustTokenParams",[{name:"operation",type:"string",optional:!1,description:"",typeRef:"Network.TrustTokenOperationType"},{name:"refreshPolicy",type:"string",optional:!1,description:'Only set for \\"token-redemption\\" operation and determine whether to request a fresh SRR or use a still valid cached SRR.',typeRef:null},{name:"issuers",type:"array",optional:!0,description:"Origins of issuers from whom to request tokens or redemption records.",typeRef:"string"}]),e.registerType("Network.ServiceWorkerRouterInfo",[{name:"ruleIdMatched",type:"number",optional:!1,description:"",typeRef:null},{name:"matchedSourceType",type:"string",optional:!1,description:"",typeRef:"Network.ServiceWorkerRouterSource"}]),e.registerType("Network.Response",[{name:"url",type:"string",optional:!1,description:"Response URL. This URL can be different from CachedResource.url in case of redirect.",typeRef:null},{name:"status",type:"number",optional:!1,description:"HTTP response status code.",typeRef:null},{name:"statusText",type:"string",optional:!1,description:"HTTP response status text.",typeRef:null},{name:"headers",type:"object",optional:!1,description:"HTTP response headers.",typeRef:"Network.Headers"},{name:"headersText",type:"string",optional:!0,description:"HTTP response headers text. This has been replaced by the headers in Network.responseReceivedExtraInfo.",typeRef:null},{name:"mimeType",type:"string",optional:!1,description:"Resource mimeType as determined by the browser.",typeRef:null},{name:"charset",type:"string",optional:!1,description:"Resource charset as determined by the browser (if applicable).",typeRef:null},{name:"requestHeaders",type:"object",optional:!0,description:"Refined HTTP request headers that were actually transmitted over the network.",typeRef:"Network.Headers"},{name:"requestHeadersText",type:"string",optional:!0,description:"HTTP request headers text. This has been replaced by the headers in Network.requestWillBeSentExtraInfo.",typeRef:null},{name:"connectionReused",type:"boolean",optional:!1,description:"Specifies whether physical connection was actually reused for this request.",typeRef:null},{name:"connectionId",type:"number",optional:!1,description:"Physical connection id that was actually used for this request.",typeRef:null},{name:"remoteIPAddress",type:"string",optional:!0,description:"Remote IP address.",typeRef:null},{name:"remotePort",type:"number",optional:!0,description:"Remote port.",typeRef:null},{name:"fromDiskCache",type:"boolean",optional:!0,description:"Specifies that the request was served from the disk cache.",typeRef:null},{name:"fromServiceWorker",type:"boolean",optional:!0,description:"Specifies that the request was served from the ServiceWorker.",typeRef:null},{name:"fromPrefetchCache",type:"boolean",optional:!0,description:"Specifies that the request was served from the prefetch cache.",typeRef:null},{name:"serviceWorkerRouterInfo",type:"object",optional:!0,description:"Information about how Service Worker Static Router was used.",typeRef:"Network.ServiceWorkerRouterInfo"},{name:"encodedDataLength",type:"number",optional:!1,description:"Total number of bytes received for this request so far.",typeRef:null},{name:"timing",type:"object",optional:!0,description:"Timing information for the given request.",typeRef:"Network.ResourceTiming"},{name:"serviceWorkerResponseSource",type:"string",optional:!0,description:"Response source of response from ServiceWorker.",typeRef:"Network.ServiceWorkerResponseSource"},{name:"responseTime",type:"number",optional:!0,description:"The time at which the returned response was generated.",typeRef:"Network.TimeSinceEpoch"},{name:"cacheStorageCacheName",type:"string",optional:!0,description:"Cache Storage Cache Name.",typeRef:null},{name:"protocol",type:"string",optional:!0,description:"Protocol used to fetch this request.",typeRef:null},{name:"alternateProtocolUsage",type:"string",optional:!0,description:"The reason why Chrome uses a specific transport protocol for HTTP semantics.",typeRef:"Network.AlternateProtocolUsage"},{name:"securityState",type:"string",optional:!1,description:"Security state of the request resource.",typeRef:"Security.SecurityState"},{name:"securityDetails",type:"object",optional:!0,description:"Security details for the request.",typeRef:"Network.SecurityDetails"}]),e.registerType("Network.WebSocketRequest",[{name:"headers",type:"object",optional:!1,description:"HTTP request headers.",typeRef:"Network.Headers"}]),e.registerType("Network.WebSocketResponse",[{name:"status",type:"number",optional:!1,description:"HTTP response status code.",typeRef:null},{name:"statusText",type:"string",optional:!1,description:"HTTP response status text.",typeRef:null},{name:"headers",type:"object",optional:!1,description:"HTTP response headers.",typeRef:"Network.Headers"},{name:"headersText",type:"string",optional:!0,description:"HTTP response headers text.",typeRef:null},{name:"requestHeaders",type:"object",optional:!0,description:"HTTP request headers.",typeRef:"Network.Headers"},{name:"requestHeadersText",type:"string",optional:!0,description:"HTTP request headers text.",typeRef:null}]),e.registerType("Network.WebSocketFrame",[{name:"opcode",type:"number",optional:!1,description:"WebSocket message opcode.",typeRef:null},{name:"mask",type:"boolean",optional:!1,description:"WebSocket message mask.",typeRef:null},{name:"payloadData",type:"string",optional:!1,description:"WebSocket message payload data. If the opcode is 1, this is a text message and payloadData is a UTF-8 string. If the opcode isn't 1, then payloadData is a base64 encoded string representing binary data.",typeRef:null}]),e.registerType("Network.CachedResource",[{name:"url",type:"string",optional:!1,description:"Resource URL. This is the url of the original network request.",typeRef:null},{name:"type",type:"string",optional:!1,description:"Type of this resource.",typeRef:"Network.ResourceType"},{name:"response",type:"object",optional:!0,description:"Cached response data.",typeRef:"Network.Response"},{name:"bodySize",type:"number",optional:!1,description:"Cached response body size.",typeRef:null}]),e.registerType("Network.Initiator",[{name:"type",type:"string",optional:!1,description:"Type of this initiator.",typeRef:null},{name:"stack",type:"object",optional:!0,description:"Initiator JavaScript stack trace, set for Script only.",typeRef:"Runtime.StackTrace"},{name:"url",type:"string",optional:!0,description:"Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.",typeRef:null},{name:"lineNumber",type:"number",optional:!0,description:"Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based).",typeRef:null},{name:"columnNumber",type:"number",optional:!0,description:"Initiator column number, set for Parser type or for Script type (when script is importing module) (0-based).",typeRef:null},{name:"requestId",type:"string",optional:!0,description:"Set if another request triggered this request (e.g. preflight).",typeRef:"Network.RequestId"}]),e.registerType("Network.Cookie",[{name:"name",type:"string",optional:!1,description:"Cookie name.",typeRef:null},{name:"value",type:"string",optional:!1,description:"Cookie value.",typeRef:null},{name:"domain",type:"string",optional:!1,description:"Cookie domain.",typeRef:null},{name:"path",type:"string",optional:!1,description:"Cookie path.",typeRef:null},{name:"expires",type:"number",optional:!1,description:"Cookie expiration date as the number of seconds since the UNIX epoch.",typeRef:null},{name:"size",type:"number",optional:!1,description:"Cookie size.",typeRef:null},{name:"httpOnly",type:"boolean",optional:!1,description:"True if cookie is http-only.",typeRef:null},{name:"secure",type:"boolean",optional:!1,description:"True if cookie is secure.",typeRef:null},{name:"session",type:"boolean",optional:!1,description:"True in case of session cookie.",typeRef:null},{name:"sameSite",type:"string",optional:!0,description:"Cookie SameSite type.",typeRef:"Network.CookieSameSite"},{name:"priority",type:"string",optional:!1,description:"Cookie Priority",typeRef:"Network.CookiePriority"},{name:"sameParty",type:"boolean",optional:!1,description:"True if cookie is SameParty.",typeRef:null},{name:"sourceScheme",type:"string",optional:!1,description:"Cookie source scheme type.",typeRef:"Network.CookieSourceScheme"},{name:"sourcePort",type:"number",optional:!1,description:"Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. This is a temporary ability and it will be removed in the future.",typeRef:null},{name:"partitionKey",type:"string",optional:!0,description:"Cookie partition key. The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie.",typeRef:null},{name:"partitionKeyOpaque",type:"boolean",optional:!0,description:"True if cookie partition key is opaque.",typeRef:null}]),e.registerType("Network.BlockedSetCookieWithReason",[{name:"blockedReasons",type:"array",optional:!1,description:"The reason(s) this cookie was blocked.",typeRef:"Network.SetCookieBlockedReason"},{name:"cookieLine",type:"string",optional:!1,description:'The string representing this individual cookie as it would appear in the header. This is not the entire \\"cookie\\" or \\"set-cookie\\" header which could have multiple cookies.',typeRef:null},{name:"cookie",type:"object",optional:!0,description:"The cookie object which represents the cookie which was not stored. It is optional because sometimes complete cookie information is not available, such as in the case of parsing errors.",typeRef:"Network.Cookie"}]),e.registerType("Network.ExemptedSetCookieWithReason",[{name:"exemptionReason",type:"string",optional:!1,description:"The reason the cookie was exempted.",typeRef:"Network.CookieExemptionReason"},{name:"cookie",type:"object",optional:!1,description:"The cookie object representing the cookie.",typeRef:"Network.Cookie"}]),e.registerType("Network.AssociatedCookie",[{name:"cookie",type:"object",optional:!1,description:"The cookie object representing the cookie which was not sent.",typeRef:"Network.Cookie"},{name:"blockedReasons",type:"array",optional:!1,description:"The reason(s) the cookie was blocked. If empty means the cookie is included.",typeRef:"Network.CookieBlockedReason"},{name:"exemptionReason",type:"string",optional:!0,description:"The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could only have at most one exemption reason.",typeRef:"Network.CookieExemptionReason"}]),e.registerType("Network.CookieParam",[{name:"name",type:"string",optional:!1,description:"Cookie name.",typeRef:null},{name:"value",type:"string",optional:!1,description:"Cookie value.",typeRef:null},{name:"url",type:"string",optional:!0,description:"The request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie.",typeRef:null},{name:"domain",type:"string",optional:!0,description:"Cookie domain.",typeRef:null},{name:"path",type:"string",optional:!0,description:"Cookie path.",typeRef:null},{name:"secure",type:"boolean",optional:!0,description:"True if cookie is secure.",typeRef:null},{name:"httpOnly",type:"boolean",optional:!0,description:"True if cookie is http-only.",typeRef:null},{name:"sameSite",type:"string",optional:!0,description:"Cookie SameSite type.",typeRef:"Network.CookieSameSite"},{name:"expires",type:"number",optional:!0,description:"Cookie expiration date, session cookie if not set",typeRef:"Network.TimeSinceEpoch"},{name:"priority",type:"string",optional:!0,description:"Cookie Priority.",typeRef:"Network.CookiePriority"},{name:"sameParty",type:"boolean",optional:!0,description:"True if cookie is SameParty.",typeRef:null},{name:"sourceScheme",type:"string",optional:!0,description:"Cookie source scheme type.",typeRef:"Network.CookieSourceScheme"},{name:"sourcePort",type:"number",optional:!0,description:"Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. This is a temporary ability and it will be removed in the future.",typeRef:null},{name:"partitionKey",type:"string",optional:!0,description:"Cookie partition key. The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie. If not set, the cookie will be set as not partitioned.",typeRef:null}]),e.registerType("Network.AuthChallenge",[{name:"source",type:"string",optional:!0,description:"Source of the authentication challenge.",typeRef:null},{name:"origin",type:"string",optional:!1,description:"Origin of the challenger.",typeRef:null},{name:"scheme",type:"string",optional:!1,description:"The authentication scheme used, such as basic or digest",typeRef:null},{name:"realm",type:"string",optional:!1,description:"The realm of the challenge. May be empty.",typeRef:null}]),e.registerType("Network.AuthChallengeResponse",[{name:"response",type:"string",optional:!1,description:"The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box.",typeRef:null},{name:"username",type:"string",optional:!0,description:"The username to provide, possibly empty. Should only be set if response is ProvideCredentials.",typeRef:null},{name:"password",type:"string",optional:!0,description:"The password to provide, possibly empty. Should only be set if response is ProvideCredentials.",typeRef:null}]),e.registerType("Network.RequestPattern",[{name:"urlPattern",type:"string",optional:!0,description:"Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is backslash. Omitting is equivalent to `\\\"*\\\"`.",typeRef:null},{name:"resourceType",type:"string",optional:!0,description:"If set, only requests for matching resource types will be intercepted.",typeRef:"Network.ResourceType"},{name:"interceptionStage",type:"string",optional:!0,description:"Stage at which to begin intercepting requests. Default is Request.",typeRef:"Network.InterceptionStage"}]),e.registerType("Network.SignedExchangeSignature",[{name:"label",type:"string",optional:!1,description:"Signed exchange signature label.",typeRef:null},{name:"signature",type:"string",optional:!1,description:"The hex string of signed exchange signature.",typeRef:null},{name:"integrity",type:"string",optional:!1,description:"Signed exchange signature integrity.",typeRef:null},{name:"certUrl",type:"string",optional:!0,description:"Signed exchange signature cert Url.",typeRef:null},{name:"certSha256",type:"string",optional:!0,description:"The hex string of signed exchange signature cert sha256.",typeRef:null},{name:"validityUrl",type:"string",optional:!1,description:"Signed exchange signature validity Url.",typeRef:null},{name:"date",type:"number",optional:!1,description:"Signed exchange signature date.",typeRef:null},{name:"expires",type:"number",optional:!1,description:"Signed exchange signature expires.",typeRef:null},{name:"certificates",type:"array",optional:!0,description:"The encoded certificates.",typeRef:"string"}]),e.registerType("Network.SignedExchangeHeader",[{name:"requestUrl",type:"string",optional:!1,description:"Signed exchange request URL.",typeRef:null},{name:"responseCode",type:"number",optional:!1,description:"Signed exchange response code.",typeRef:null},{name:"responseHeaders",type:"object",optional:!1,description:"Signed exchange response headers.",typeRef:"Network.Headers"},{name:"signatures",type:"array",optional:!1,description:"Signed exchange response signature.",typeRef:"Network.SignedExchangeSignature"},{name:"headerIntegrity",type:"string",optional:!1,description:"Signed exchange header integrity hash in the form of `sha256-`.",typeRef:null}]),e.registerType("Network.SignedExchangeError",[{name:"message",type:"string",optional:!1,description:"Error message.",typeRef:null},{name:"signatureIndex",type:"number",optional:!0,description:"The index of the signature which caused the error.",typeRef:null},{name:"errorField",type:"string",optional:!0,description:"The field which caused the error.",typeRef:"Network.SignedExchangeErrorField"}]),e.registerType("Network.SignedExchangeInfo",[{name:"outerResponse",type:"object",optional:!1,description:"The outer response of signed HTTP exchange which was received from network.",typeRef:"Network.Response"},{name:"header",type:"object",optional:!0,description:"Information about the signed exchange header.",typeRef:"Network.SignedExchangeHeader"},{name:"securityDetails",type:"object",optional:!0,description:"Security details for the signed exchange header.",typeRef:"Network.SecurityDetails"},{name:"errors",type:"array",optional:!0,description:"Errors occurred while handling the signed exchange.",typeRef:"Network.SignedExchangeError"}]),e.registerType("Network.ConnectTiming",[{name:"requestTime",type:"number",optional:!1,description:"Timing's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime. Matches ResourceTiming's requestTime for the same request (but not for redirected requests).",typeRef:null}]),e.registerType("Network.ClientSecurityState",[{name:"initiatorIsSecureContext",type:"boolean",optional:!1,description:"",typeRef:null},{name:"initiatorIPAddressSpace",type:"string",optional:!1,description:"",typeRef:"Network.IPAddressSpace"},{name:"privateNetworkRequestPolicy",type:"string",optional:!1,description:"",typeRef:"Network.PrivateNetworkRequestPolicy"}]),e.registerType("Network.CrossOriginOpenerPolicyStatus",[{name:"value",type:"string",optional:!1,description:"",typeRef:"Network.CrossOriginOpenerPolicyValue"},{name:"reportOnlyValue",type:"string",optional:!1,description:"",typeRef:"Network.CrossOriginOpenerPolicyValue"},{name:"reportingEndpoint",type:"string",optional:!0,description:"",typeRef:null},{name:"reportOnlyReportingEndpoint",type:"string",optional:!0,description:"",typeRef:null}]),e.registerType("Network.CrossOriginEmbedderPolicyStatus",[{name:"value",type:"string",optional:!1,description:"",typeRef:"Network.CrossOriginEmbedderPolicyValue"},{name:"reportOnlyValue",type:"string",optional:!1,description:"",typeRef:"Network.CrossOriginEmbedderPolicyValue"},{name:"reportingEndpoint",type:"string",optional:!0,description:"",typeRef:null},{name:"reportOnlyReportingEndpoint",type:"string",optional:!0,description:"",typeRef:null}]),e.registerType("Network.ContentSecurityPolicyStatus",[{name:"effectiveDirectives",type:"string",optional:!1,description:"",typeRef:null},{name:"isEnforced",type:"boolean",optional:!1,description:"",typeRef:null},{name:"source",type:"string",optional:!1,description:"",typeRef:"Network.ContentSecurityPolicySource"}]),e.registerType("Network.SecurityIsolationStatus",[{name:"coop",type:"object",optional:!0,description:"",typeRef:"Network.CrossOriginOpenerPolicyStatus"},{name:"coep",type:"object",optional:!0,description:"",typeRef:"Network.CrossOriginEmbedderPolicyStatus"},{name:"csp",type:"array",optional:!0,description:"",typeRef:"Network.ContentSecurityPolicyStatus"}]),e.registerType("Network.ReportingApiReport",[{name:"id",type:"string",optional:!1,description:"",typeRef:"Network.ReportId"},{name:"initiatorUrl",type:"string",optional:!1,description:"The URL of the document that triggered the report.",typeRef:null},{name:"destination",type:"string",optional:!1,description:"The name of the endpoint group that should be used to deliver the report.",typeRef:null},{name:"type",type:"string",optional:!1,description:"The type of the report (specifies the set of data that is contained in the report body).",typeRef:null},{name:"timestamp",type:"number",optional:!1,description:"When the report was generated.",typeRef:"Network.TimeSinceEpoch"},{name:"depth",type:"number",optional:!1,description:"How many uploads deep the related request was.",typeRef:null},{name:"completedAttempts",type:"number",optional:!1,description:"The number of delivery attempts made so far, not including an active attempt.",typeRef:null},{name:"body",type:"object",optional:!1,description:"",typeRef:null},{name:"status",type:"string",optional:!1,description:"",typeRef:"Network.ReportStatus"}]),e.registerType("Network.ReportingApiEndpoint",[{name:"url",type:"string",optional:!1,description:"The URL of the endpoint to which reports may be delivered.",typeRef:null},{name:"groupName",type:"string",optional:!1,description:"Name of the endpoint group.",typeRef:null}]),e.registerType("Network.LoadNetworkResourcePageResult",[{name:"success",type:"boolean",optional:!1,description:"",typeRef:null},{name:"netError",type:"number",optional:!0,description:"Optional values used for error reporting.",typeRef:null},{name:"netErrorName",type:"string",optional:!0,description:"",typeRef:null},{name:"httpStatusCode",type:"number",optional:!0,description:"",typeRef:null},{name:"stream",type:"string",optional:!0,description:"If successful, one of the following two fields holds the result.",typeRef:"IO.StreamHandle"},{name:"headers",type:"object",optional:!0,description:"Response headers.",typeRef:"Network.Headers"}]),e.registerType("Network.LoadNetworkResourceOptions",[{name:"disableCache",type:"boolean",optional:!1,description:"",typeRef:null},{name:"includeCredentials",type:"boolean",optional:!1,description:"",typeRef:null}]),e.registerEnum("Overlay.LineStylePattern",{Dashed:"dashed",Dotted:"dotted"}),e.registerEnum("Overlay.ContrastAlgorithm",{Aa:"aa",Aaa:"aaa",Apca:"apca"}),e.registerEnum("Overlay.ColorFormat",{Rgb:"rgb",Hsl:"hsl",Hwb:"hwb",Hex:"hex"}),e.registerEnum("Overlay.InspectMode",{SearchForNode:"searchForNode",SearchForUAShadowDOM:"searchForUAShadowDOM",CaptureAreaScreenshot:"captureAreaScreenshot",ShowDistances:"showDistances",None:"none"}),e.registerEvent("Overlay.inspectNodeRequested",["backendNodeId"]),e.registerEvent("Overlay.nodeHighlightRequested",["nodeId"]),e.registerEvent("Overlay.screenshotRequested",["viewport"]),e.registerEvent("Overlay.inspectModeCanceled",[]),e.registerCommand("Overlay.disable",[],[],"Disables domain notifications."),e.registerCommand("Overlay.enable",[],[],"Enables domain notifications."),e.registerCommand("Overlay.getHighlightObjectForTest",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to get highlight object for.",typeRef:"DOM.NodeId"},{name:"includeDistance",type:"boolean",optional:!0,description:"Whether to include distance info.",typeRef:null},{name:"includeStyle",type:"boolean",optional:!0,description:"Whether to include style info.",typeRef:null},{name:"colorFormat",type:"string",optional:!0,description:"The color format to get config with (default: hex).",typeRef:"Overlay.ColorFormat"},{name:"showAccessibilityInfo",type:"boolean",optional:!0,description:"Whether to show accessibility info (default: true).",typeRef:null}],["highlight"],"For testing."),e.registerCommand("Overlay.getGridHighlightObjectsForTest",[{name:"nodeIds",type:"array",optional:!1,description:"Ids of the node to get highlight object for.",typeRef:"DOM.NodeId"}],["highlights"],"For Persistent Grid testing."),e.registerCommand("Overlay.getSourceOrderHighlightObjectForTest",[{name:"nodeId",type:"number",optional:!1,description:"Id of the node to highlight.",typeRef:"DOM.NodeId"}],["highlight"],"For Source Order Viewer testing."),e.registerCommand("Overlay.hideHighlight",[],[],"Hides any highlight."),e.registerCommand("Overlay.highlightFrame",[{name:"frameId",type:"string",optional:!1,description:"Identifier of the frame to highlight.",typeRef:"Page.FrameId"},{name:"contentColor",type:"object",optional:!0,description:"The content box highlight fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"contentOutlineColor",type:"object",optional:!0,description:"The content box highlight outline color (default: transparent).",typeRef:"DOM.RGBA"}],[],"Highlights owner element of the frame with given id. Deprecated: Doesn't work reliably and cannot be fixed due to process separation (the owner node might be in a different process). Determine the owner node in the client and use highlightNode."),e.registerCommand("Overlay.highlightNode",[{name:"highlightConfig",type:"object",optional:!1,description:"A descriptor for the highlight appearance.",typeRef:"Overlay.HighlightConfig"},{name:"nodeId",type:"number",optional:!0,description:"Identifier of the node to highlight.",typeRef:"DOM.NodeId"},{name:"backendNodeId",type:"number",optional:!0,description:"Identifier of the backend node to highlight.",typeRef:"DOM.BackendNodeId"},{name:"objectId",type:"string",optional:!0,description:"JavaScript object id of the node to be highlighted.",typeRef:"Runtime.RemoteObjectId"},{name:"selector",type:"string",optional:!0,description:"Selectors to highlight relevant nodes.",typeRef:null}],[],"Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified."),e.registerCommand("Overlay.highlightQuad",[{name:"quad",type:"array",optional:!1,description:"Quad to highlight",typeRef:"DOM.Quad"},{name:"color",type:"object",optional:!0,description:"The highlight fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"outlineColor",type:"object",optional:!0,description:"The highlight outline color (default: transparent).",typeRef:"DOM.RGBA"}],[],"Highlights given quad. Coordinates are absolute with respect to the main frame viewport."),e.registerCommand("Overlay.highlightRect",[{name:"x",type:"number",optional:!1,description:"X coordinate",typeRef:null},{name:"y",type:"number",optional:!1,description:"Y coordinate",typeRef:null},{name:"width",type:"number",optional:!1,description:"Rectangle width",typeRef:null},{name:"height",type:"number",optional:!1,description:"Rectangle height",typeRef:null},{name:"color",type:"object",optional:!0,description:"The highlight fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"outlineColor",type:"object",optional:!0,description:"The highlight outline color (default: transparent).",typeRef:"DOM.RGBA"}],[],"Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport."),e.registerCommand("Overlay.highlightSourceOrder",[{name:"sourceOrderConfig",type:"object",optional:!1,description:"A descriptor for the appearance of the overlay drawing.",typeRef:"Overlay.SourceOrderConfig"},{name:"nodeId",type:"number",optional:!0,description:"Identifier of the node to highlight.",typeRef:"DOM.NodeId"},{name:"backendNodeId",type:"number",optional:!0,description:"Identifier of the backend node to highlight.",typeRef:"DOM.BackendNodeId"},{name:"objectId",type:"string",optional:!0,description:"JavaScript object id of the node to be highlighted.",typeRef:"Runtime.RemoteObjectId"}],[],"Highlights the source order of the children of the DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified."),e.registerCommand("Overlay.setInspectMode",[{name:"mode",type:"string",optional:!1,description:"Set an inspection mode.",typeRef:"Overlay.InspectMode"},{name:"highlightConfig",type:"object",optional:!0,description:"A descriptor for the highlight appearance of hovered-over nodes. May be omitted if `enabled == false`.",typeRef:"Overlay.HighlightConfig"}],[],"Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection."),e.registerCommand("Overlay.setShowAdHighlights",[{name:"show",type:"boolean",optional:!1,description:"True for showing ad highlights",typeRef:null}],[],"Highlights owner element of all frames detected to be ads."),e.registerCommand("Overlay.setPausedInDebuggerMessage",[{name:"message",type:"string",optional:!0,description:"The message to display, also triggers resume and step over controls.",typeRef:null}],[],""),e.registerCommand("Overlay.setShowDebugBorders",[{name:"show",type:"boolean",optional:!1,description:"True for showing debug borders",typeRef:null}],[],"Requests that backend shows debug borders on layers"),e.registerCommand("Overlay.setShowFPSCounter",[{name:"show",type:"boolean",optional:!1,description:"True for showing the FPS counter",typeRef:null}],[],"Requests that backend shows the FPS counter"),e.registerCommand("Overlay.setShowGridOverlays",[{name:"gridNodeHighlightConfigs",type:"array",optional:!1,description:"An array of node identifiers and descriptors for the highlight appearance.",typeRef:"Overlay.GridNodeHighlightConfig"}],[],"Highlight multiple elements with the CSS Grid overlay."),e.registerCommand("Overlay.setShowFlexOverlays",[{name:"flexNodeHighlightConfigs",type:"array",optional:!1,description:"An array of node identifiers and descriptors for the highlight appearance.",typeRef:"Overlay.FlexNodeHighlightConfig"}],[],""),e.registerCommand("Overlay.setShowScrollSnapOverlays",[{name:"scrollSnapHighlightConfigs",type:"array",optional:!1,description:"An array of node identifiers and descriptors for the highlight appearance.",typeRef:"Overlay.ScrollSnapHighlightConfig"}],[],""),e.registerCommand("Overlay.setShowContainerQueryOverlays",[{name:"containerQueryHighlightConfigs",type:"array",optional:!1,description:"An array of node identifiers and descriptors for the highlight appearance.",typeRef:"Overlay.ContainerQueryHighlightConfig"}],[],""),e.registerCommand("Overlay.setShowPaintRects",[{name:"result",type:"boolean",optional:!1,description:"True for showing paint rectangles",typeRef:null}],[],"Requests that backend shows paint rectangles"),e.registerCommand("Overlay.setShowLayoutShiftRegions",[{name:"result",type:"boolean",optional:!1,description:"True for showing layout shift regions",typeRef:null}],[],"Requests that backend shows layout shift regions"),e.registerCommand("Overlay.setShowScrollBottleneckRects",[{name:"show",type:"boolean",optional:!1,description:"True for showing scroll bottleneck rects",typeRef:null}],[],"Requests that backend shows scroll bottleneck rects"),e.registerCommand("Overlay.setShowHitTestBorders",[{name:"show",type:"boolean",optional:!1,description:"True for showing hit-test borders",typeRef:null}],[],"Deprecated, no longer has any effect."),e.registerCommand("Overlay.setShowWebVitals",[{name:"show",type:"boolean",optional:!1,description:"",typeRef:null}],[],"Request that backend shows an overlay with web vital metrics."),e.registerCommand("Overlay.setShowViewportSizeOnResize",[{name:"show",type:"boolean",optional:!1,description:"Whether to paint size or not.",typeRef:null}],[],"Paints viewport size upon main frame resize."),e.registerCommand("Overlay.setShowHinge",[{name:"hingeConfig",type:"object",optional:!0,description:"hinge data, null means hideHinge",typeRef:"Overlay.HingeConfig"}],[],"Add a dual screen device hinge"),e.registerCommand("Overlay.setShowIsolatedElements",[{name:"isolatedElementHighlightConfigs",type:"array",optional:!1,description:"An array of node identifiers and descriptors for the highlight appearance.",typeRef:"Overlay.IsolatedElementHighlightConfig"}],[],"Show elements in isolation mode with overlays."),e.registerCommand("Overlay.setShowWindowControlsOverlay",[{name:"windowControlsOverlayConfig",type:"object",optional:!0,description:"Window Controls Overlay data, null means hide Window Controls Overlay",typeRef:"Overlay.WindowControlsOverlayConfig"}],[],"Show Window Controls Overlay for PWA"),e.registerType("Overlay.SourceOrderConfig",[{name:"parentOutlineColor",type:"object",optional:!1,description:"the color to outline the given element in.",typeRef:"DOM.RGBA"},{name:"childOutlineColor",type:"object",optional:!1,description:"the color to outline the child elements in.",typeRef:"DOM.RGBA"}]),e.registerType("Overlay.GridHighlightConfig",[{name:"showGridExtensionLines",type:"boolean",optional:!0,description:"Whether the extension lines from grid cells to the rulers should be shown (default: false).",typeRef:null},{name:"showPositiveLineNumbers",type:"boolean",optional:!0,description:"Show Positive line number labels (default: false).",typeRef:null},{name:"showNegativeLineNumbers",type:"boolean",optional:!0,description:"Show Negative line number labels (default: false).",typeRef:null},{name:"showAreaNames",type:"boolean",optional:!0,description:"Show area name labels (default: false).",typeRef:null},{name:"showLineNames",type:"boolean",optional:!0,description:"Show line name labels (default: false).",typeRef:null},{name:"showTrackSizes",type:"boolean",optional:!0,description:"Show track size labels (default: false).",typeRef:null},{name:"gridBorderColor",type:"object",optional:!0,description:"The grid container border highlight color (default: transparent).",typeRef:"DOM.RGBA"},{name:"cellBorderColor",type:"object",optional:!0,description:"The cell border color (default: transparent). Deprecated, please use rowLineColor and columnLineColor instead.",typeRef:"DOM.RGBA"},{name:"rowLineColor",type:"object",optional:!0,description:"The row line color (default: transparent).",typeRef:"DOM.RGBA"},{name:"columnLineColor",type:"object",optional:!0,description:"The column line color (default: transparent).",typeRef:"DOM.RGBA"},{name:"gridBorderDash",type:"boolean",optional:!0,description:"Whether the grid border is dashed (default: false).",typeRef:null},{name:"cellBorderDash",type:"boolean",optional:!0,description:"Whether the cell border is dashed (default: false). Deprecated, please us rowLineDash and columnLineDash instead.",typeRef:null},{name:"rowLineDash",type:"boolean",optional:!0,description:"Whether row lines are dashed (default: false).",typeRef:null},{name:"columnLineDash",type:"boolean",optional:!0,description:"Whether column lines are dashed (default: false).",typeRef:null},{name:"rowGapColor",type:"object",optional:!0,description:"The row gap highlight fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"rowHatchColor",type:"object",optional:!0,description:"The row gap hatching fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"columnGapColor",type:"object",optional:!0,description:"The column gap highlight fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"columnHatchColor",type:"object",optional:!0,description:"The column gap hatching fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"areaBorderColor",type:"object",optional:!0,description:"The named grid areas border color (Default: transparent).",typeRef:"DOM.RGBA"},{name:"gridBackgroundColor",type:"object",optional:!0,description:"The grid container background color (Default: transparent).",typeRef:"DOM.RGBA"}]),e.registerType("Overlay.FlexContainerHighlightConfig",[{name:"containerBorder",type:"object",optional:!0,description:"The style of the container border",typeRef:"Overlay.LineStyle"},{name:"lineSeparator",type:"object",optional:!0,description:"The style of the separator between lines",typeRef:"Overlay.LineStyle"},{name:"itemSeparator",type:"object",optional:!0,description:"The style of the separator between items",typeRef:"Overlay.LineStyle"},{name:"mainDistributedSpace",type:"object",optional:!0,description:"Style of content-distribution space on the main axis (justify-content).",typeRef:"Overlay.BoxStyle"},{name:"crossDistributedSpace",type:"object",optional:!0,description:"Style of content-distribution space on the cross axis (align-content).",typeRef:"Overlay.BoxStyle"},{name:"rowGapSpace",type:"object",optional:!0,description:"Style of empty space caused by row gaps (gap/row-gap).",typeRef:"Overlay.BoxStyle"},{name:"columnGapSpace",type:"object",optional:!0,description:"Style of empty space caused by columns gaps (gap/column-gap).",typeRef:"Overlay.BoxStyle"},{name:"crossAlignment",type:"object",optional:!0,description:"Style of the self-alignment line (align-items).",typeRef:"Overlay.LineStyle"}]),e.registerType("Overlay.FlexItemHighlightConfig",[{name:"baseSizeBox",type:"object",optional:!0,description:"Style of the box representing the item's base size",typeRef:"Overlay.BoxStyle"},{name:"baseSizeBorder",type:"object",optional:!0,description:"Style of the border around the box representing the item's base size",typeRef:"Overlay.LineStyle"},{name:"flexibilityArrow",type:"object",optional:!0,description:"Style of the arrow representing if the item grew or shrank",typeRef:"Overlay.LineStyle"}]),e.registerType("Overlay.LineStyle",[{name:"color",type:"object",optional:!0,description:"The color of the line (default: transparent)",typeRef:"DOM.RGBA"},{name:"pattern",type:"string",optional:!0,description:"The line pattern (default: solid)",typeRef:null}]),e.registerType("Overlay.BoxStyle",[{name:"fillColor",type:"object",optional:!0,description:"The background color for the box (default: transparent)",typeRef:"DOM.RGBA"},{name:"hatchColor",type:"object",optional:!0,description:"The hatching color for the box (default: transparent)",typeRef:"DOM.RGBA"}]),e.registerType("Overlay.HighlightConfig",[{name:"showInfo",type:"boolean",optional:!0,description:"Whether the node info tooltip should be shown (default: false).",typeRef:null},{name:"showStyles",type:"boolean",optional:!0,description:"Whether the node styles in the tooltip (default: false).",typeRef:null},{name:"showRulers",type:"boolean",optional:!0,description:"Whether the rulers should be shown (default: false).",typeRef:null},{name:"showAccessibilityInfo",type:"boolean",optional:!0,description:"Whether the a11y info should be shown (default: true).",typeRef:null},{name:"showExtensionLines",type:"boolean",optional:!0,description:"Whether the extension lines from node to the rulers should be shown (default: false).",typeRef:null},{name:"contentColor",type:"object",optional:!0,description:"The content box highlight fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"paddingColor",type:"object",optional:!0,description:"The padding highlight fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"borderColor",type:"object",optional:!0,description:"The border highlight fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"marginColor",type:"object",optional:!0,description:"The margin highlight fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"eventTargetColor",type:"object",optional:!0,description:"The event target element highlight fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"shapeColor",type:"object",optional:!0,description:"The shape outside fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"shapeMarginColor",type:"object",optional:!0,description:"The shape margin fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"cssGridColor",type:"object",optional:!0,description:"The grid layout color (default: transparent).",typeRef:"DOM.RGBA"},{name:"colorFormat",type:"string",optional:!0,description:"The color format used to format color styles (default: hex).",typeRef:"Overlay.ColorFormat"},{name:"gridHighlightConfig",type:"object",optional:!0,description:"The grid layout highlight configuration (default: all transparent).",typeRef:"Overlay.GridHighlightConfig"},{name:"flexContainerHighlightConfig",type:"object",optional:!0,description:"The flex container highlight configuration (default: all transparent).",typeRef:"Overlay.FlexContainerHighlightConfig"},{name:"flexItemHighlightConfig",type:"object",optional:!0,description:"The flex item highlight configuration (default: all transparent).",typeRef:"Overlay.FlexItemHighlightConfig"},{name:"contrastAlgorithm",type:"string",optional:!0,description:"The contrast algorithm to use for the contrast ratio (default: aa).",typeRef:"Overlay.ContrastAlgorithm"},{name:"containerQueryContainerHighlightConfig",type:"object",optional:!0,description:"The container query container highlight configuration (default: all transparent).",typeRef:"Overlay.ContainerQueryContainerHighlightConfig"}]),e.registerType("Overlay.GridNodeHighlightConfig",[{name:"gridHighlightConfig",type:"object",optional:!1,description:"A descriptor for the highlight appearance.",typeRef:"Overlay.GridHighlightConfig"},{name:"nodeId",type:"number",optional:!1,description:"Identifier of the node to highlight.",typeRef:"DOM.NodeId"}]),e.registerType("Overlay.FlexNodeHighlightConfig",[{name:"flexContainerHighlightConfig",type:"object",optional:!1,description:"A descriptor for the highlight appearance of flex containers.",typeRef:"Overlay.FlexContainerHighlightConfig"},{name:"nodeId",type:"number",optional:!1,description:"Identifier of the node to highlight.",typeRef:"DOM.NodeId"}]),e.registerType("Overlay.ScrollSnapContainerHighlightConfig",[{name:"snapportBorder",type:"object",optional:!0,description:"The style of the snapport border (default: transparent)",typeRef:"Overlay.LineStyle"},{name:"snapAreaBorder",type:"object",optional:!0,description:"The style of the snap area border (default: transparent)",typeRef:"Overlay.LineStyle"},{name:"scrollMarginColor",type:"object",optional:!0,description:"The margin highlight fill color (default: transparent).",typeRef:"DOM.RGBA"},{name:"scrollPaddingColor",type:"object",optional:!0,description:"The padding highlight fill color (default: transparent).",typeRef:"DOM.RGBA"}]),e.registerType("Overlay.ScrollSnapHighlightConfig",[{name:"scrollSnapContainerHighlightConfig",type:"object",optional:!1,description:"A descriptor for the highlight appearance of scroll snap containers.",typeRef:"Overlay.ScrollSnapContainerHighlightConfig"},{name:"nodeId",type:"number",optional:!1,description:"Identifier of the node to highlight.",typeRef:"DOM.NodeId"}]),e.registerType("Overlay.HingeConfig",[{name:"rect",type:"object",optional:!1,description:"A rectangle represent hinge",typeRef:"DOM.Rect"},{name:"contentColor",type:"object",optional:!0,description:"The content box highlight fill color (default: a dark color).",typeRef:"DOM.RGBA"},{name:"outlineColor",type:"object",optional:!0,description:"The content box highlight outline color (default: transparent).",typeRef:"DOM.RGBA"}]),e.registerType("Overlay.WindowControlsOverlayConfig",[{name:"showCSS",type:"boolean",optional:!1,description:"Whether the title bar CSS should be shown when emulating the Window Controls Overlay.",typeRef:null},{name:"selectedPlatform",type:"string",optional:!1,description:"Selected platforms to show the overlay.",typeRef:null},{name:"themeColor",type:"string",optional:!1,description:"The theme color defined in app manifest.",typeRef:null}]),e.registerType("Overlay.ContainerQueryHighlightConfig",[{name:"containerQueryContainerHighlightConfig",type:"object",optional:!1,description:"A descriptor for the highlight appearance of container query containers.",typeRef:"Overlay.ContainerQueryContainerHighlightConfig"},{name:"nodeId",type:"number",optional:!1,description:"Identifier of the container node to highlight.",typeRef:"DOM.NodeId"}]),e.registerType("Overlay.ContainerQueryContainerHighlightConfig",[{name:"containerBorder",type:"object",optional:!0,description:"The style of the container border.",typeRef:"Overlay.LineStyle"},{name:"descendantBorder",type:"object",optional:!0,description:"The style of the descendants' borders.",typeRef:"Overlay.LineStyle"}]),e.registerType("Overlay.IsolatedElementHighlightConfig",[{name:"isolationModeHighlightConfig",type:"object",optional:!1,description:"A descriptor for the highlight appearance of an element in isolation mode.",typeRef:"Overlay.IsolationModeHighlightConfig"},{name:"nodeId",type:"number",optional:!1,description:"Identifier of the isolated element to highlight.",typeRef:"DOM.NodeId"}]),e.registerType("Overlay.IsolationModeHighlightConfig",[{name:"resizerColor",type:"object",optional:!0,description:"The fill color of the resizers (default: transparent).",typeRef:"DOM.RGBA"},{name:"resizerHandleColor",type:"object",optional:!0,description:"The fill color for resizer handles (default: transparent).",typeRef:"DOM.RGBA"},{name:"maskColor",type:"object",optional:!0,description:"The fill color for the mask covering non-isolated elements (default: transparent).",typeRef:"DOM.RGBA"}]),e.registerEnum("Page.AdFrameType",{None:"none",Child:"child",Root:"root"}),e.registerEnum("Page.AdFrameExplanation",{ParentIsAd:"ParentIsAd",CreatedByAdScript:"CreatedByAdScript",MatchedBlockingRule:"MatchedBlockingRule"}),e.registerEnum("Page.SecureContextType",{Secure:"Secure",SecureLocalhost:"SecureLocalhost",InsecureScheme:"InsecureScheme",InsecureAncestor:"InsecureAncestor"}),e.registerEnum("Page.CrossOriginIsolatedContextType",{Isolated:"Isolated",NotIsolated:"NotIsolated",NotIsolatedFeatureDisabled:"NotIsolatedFeatureDisabled"}),e.registerEnum("Page.GatedAPIFeatures",{SharedArrayBuffers:"SharedArrayBuffers",SharedArrayBuffersTransferAllowed:"SharedArrayBuffersTransferAllowed",PerformanceMeasureMemory:"PerformanceMeasureMemory",PerformanceProfile:"PerformanceProfile"}),e.registerEnum("Page.PermissionsPolicyFeature",{Accelerometer:"accelerometer",AmbientLightSensor:"ambient-light-sensor",AttributionReporting:"attribution-reporting",Autoplay:"autoplay",Bluetooth:"bluetooth",BrowsingTopics:"browsing-topics",Camera:"camera",CapturedSurfaceControl:"captured-surface-control",ChDpr:"ch-dpr",ChDeviceMemory:"ch-device-memory",ChDownlink:"ch-downlink",ChEct:"ch-ect",ChPrefersColorScheme:"ch-prefers-color-scheme",ChPrefersReducedMotion:"ch-prefers-reduced-motion",ChPrefersReducedTransparency:"ch-prefers-reduced-transparency",ChRtt:"ch-rtt",ChSaveData:"ch-save-data",ChUa:"ch-ua",ChUaArch:"ch-ua-arch",ChUaBitness:"ch-ua-bitness",ChUaPlatform:"ch-ua-platform",ChUaModel:"ch-ua-model",ChUaMobile:"ch-ua-mobile",ChUaFormFactor:"ch-ua-form-factor",ChUaFullVersion:"ch-ua-full-version",ChUaFullVersionList:"ch-ua-full-version-list",ChUaPlatformVersion:"ch-ua-platform-version",ChUaWow64:"ch-ua-wow64",ChViewportHeight:"ch-viewport-height",ChViewportWidth:"ch-viewport-width",ChWidth:"ch-width",ClipboardRead:"clipboard-read",ClipboardWrite:"clipboard-write",ComputePressure:"compute-pressure",CrossOriginIsolated:"cross-origin-isolated",DirectSockets:"direct-sockets",DisplayCapture:"display-capture",DocumentDomain:"document-domain",EncryptedMedia:"encrypted-media",ExecutionWhileOutOfViewport:"execution-while-out-of-viewport",ExecutionWhileNotRendered:"execution-while-not-rendered",FocusWithoutUserActivation:"focus-without-user-activation",Fullscreen:"fullscreen",Frobulate:"frobulate",Gamepad:"gamepad",Geolocation:"geolocation",Gyroscope:"gyroscope",Hid:"hid",IdentityCredentialsGet:"identity-credentials-get",IdleDetection:"idle-detection",InterestCohort:"interest-cohort",JoinAdInterestGroup:"join-ad-interest-group",KeyboardMap:"keyboard-map",LocalFonts:"local-fonts",Magnetometer:"magnetometer",Microphone:"microphone",Midi:"midi",OtpCredentials:"otp-credentials",Payment:"payment",PictureInPicture:"picture-in-picture",PrivateAggregation:"private-aggregation",PrivateStateTokenIssuance:"private-state-token-issuance",PrivateStateTokenRedemption:"private-state-token-redemption",PublickeyCredentialsCreate:"publickey-credentials-create",PublickeyCredentialsGet:"publickey-credentials-get",RunAdAuction:"run-ad-auction",ScreenWakeLock:"screen-wake-lock",Serial:"serial",SharedAutofill:"shared-autofill",SharedStorage:"shared-storage",SharedStorageSelectUrl:"shared-storage-select-url",SmartCard:"smart-card",SpeakerSelection:"speaker-selection",StorageAccess:"storage-access",SubApps:"sub-apps",SyncXhr:"sync-xhr",Unload:"unload",Usb:"usb",UsbUnrestricted:"usb-unrestricted",VerticalScroll:"vertical-scroll",WebPrinting:"web-printing",WebShare:"web-share",WindowManagement:"window-management",WindowPlacement:"window-placement",XrSpatialTracking:"xr-spatial-tracking"}),e.registerEnum("Page.PermissionsPolicyBlockReason",{Header:"Header",IframeAttribute:"IframeAttribute",InFencedFrameTree:"InFencedFrameTree",InIsolatedApp:"InIsolatedApp"}),e.registerEnum("Page.OriginTrialTokenStatus",{Success:"Success",NotSupported:"NotSupported",Insecure:"Insecure",Expired:"Expired",WrongOrigin:"WrongOrigin",InvalidSignature:"InvalidSignature",Malformed:"Malformed",WrongVersion:"WrongVersion",FeatureDisabled:"FeatureDisabled",TokenDisabled:"TokenDisabled",FeatureDisabledForUser:"FeatureDisabledForUser",UnknownTrial:"UnknownTrial"}),e.registerEnum("Page.OriginTrialStatus",{Enabled:"Enabled",ValidTokenNotProvided:"ValidTokenNotProvided",OSNotSupported:"OSNotSupported",TrialNotAllowed:"TrialNotAllowed"}),e.registerEnum("Page.OriginTrialUsageRestriction",{None:"None",Subset:"Subset"}),e.registerEnum("Page.TransitionType",{Link:"link",Typed:"typed",Address_bar:"address_bar",Auto_bookmark:"auto_bookmark",Auto_subframe:"auto_subframe",Manual_subframe:"manual_subframe",Generated:"generated",Auto_toplevel:"auto_toplevel",Form_submit:"form_submit",Reload:"reload",Keyword:"keyword",Keyword_generated:"keyword_generated",Other:"other"}),e.registerEnum("Page.DialogType",{Alert:"alert",Confirm:"confirm",Prompt:"prompt",Beforeunload:"beforeunload"}),e.registerEnum("Page.ClientNavigationReason",{FormSubmissionGet:"formSubmissionGet",FormSubmissionPost:"formSubmissionPost",HttpHeaderRefresh:"httpHeaderRefresh",ScriptInitiated:"scriptInitiated",MetaTagRefresh:"metaTagRefresh",PageBlockInterstitial:"pageBlockInterstitial",Reload:"reload",AnchorClick:"anchorClick"}),e.registerEnum("Page.ClientNavigationDisposition",{CurrentTab:"currentTab",NewTab:"newTab",NewWindow:"newWindow",Download:"download"}),e.registerEnum("Page.ReferrerPolicy",{NoReferrer:"noReferrer",NoReferrerWhenDowngrade:"noReferrerWhenDowngrade",Origin:"origin",OriginWhenCrossOrigin:"originWhenCrossOrigin",SameOrigin:"sameOrigin",StrictOrigin:"strictOrigin",StrictOriginWhenCrossOrigin:"strictOriginWhenCrossOrigin",UnsafeUrl:"unsafeUrl"}),e.registerEnum("Page.AutoResponseMode",{None:"none",AutoAccept:"autoAccept",AutoReject:"autoReject",AutoOptOut:"autoOptOut"}),e.registerEnum("Page.NavigationType",{Navigation:"Navigation",BackForwardCacheRestore:"BackForwardCacheRestore"}),e.registerEnum("Page.BackForwardCacheNotRestoredReason",{NotPrimaryMainFrame:"NotPrimaryMainFrame",BackForwardCacheDisabled:"BackForwardCacheDisabled",RelatedActiveContentsExist:"RelatedActiveContentsExist",HTTPStatusNotOK:"HTTPStatusNotOK",SchemeNotHTTPOrHTTPS:"SchemeNotHTTPOrHTTPS",Loading:"Loading",WasGrantedMediaAccess:"WasGrantedMediaAccess",DisableForRenderFrameHostCalled:"DisableForRenderFrameHostCalled",DomainNotAllowed:"DomainNotAllowed",HTTPMethodNotGET:"HTTPMethodNotGET",SubframeIsNavigating:"SubframeIsNavigating",Timeout:"Timeout",CacheLimit:"CacheLimit",JavaScriptExecution:"JavaScriptExecution",RendererProcessKilled:"RendererProcessKilled",RendererProcessCrashed:"RendererProcessCrashed",SchedulerTrackedFeatureUsed:"SchedulerTrackedFeatureUsed",ConflictingBrowsingInstance:"ConflictingBrowsingInstance",CacheFlushed:"CacheFlushed",ServiceWorkerVersionActivation:"ServiceWorkerVersionActivation",SessionRestored:"SessionRestored",ServiceWorkerPostMessage:"ServiceWorkerPostMessage",EnteredBackForwardCacheBeforeServiceWorkerHostAdded:"EnteredBackForwardCacheBeforeServiceWorkerHostAdded",RenderFrameHostReused_SameSite:"RenderFrameHostReused_SameSite",RenderFrameHostReused_CrossSite:"RenderFrameHostReused_CrossSite",ServiceWorkerClaim:"ServiceWorkerClaim",IgnoreEventAndEvict:"IgnoreEventAndEvict",HaveInnerContents:"HaveInnerContents",TimeoutPuttingInCache:"TimeoutPuttingInCache",BackForwardCacheDisabledByLowMemory:"BackForwardCacheDisabledByLowMemory",BackForwardCacheDisabledByCommandLine:"BackForwardCacheDisabledByCommandLine",NetworkRequestDatAPIpeDrainedAsBytesConsumer:"NetworkRequestDatapipeDrainedAsBytesConsumer",NetworkRequestRedirected:"NetworkRequestRedirected",NetworkRequestTimeout:"NetworkRequestTimeout",NetworkExceedsBufferLimit:"NetworkExceedsBufferLimit",NavigationCancelledWhileRestoring:"NavigationCancelledWhileRestoring",NotMostRecentNavigationEntry:"NotMostRecentNavigationEntry",BackForwardCacheDisabledForPrerender:"BackForwardCacheDisabledForPrerender",UserAgentOverrideDiffers:"UserAgentOverrideDiffers",ForegroundCacheLimit:"ForegroundCacheLimit",BrowsingInstanceNotSwapped:"BrowsingInstanceNotSwapped",BackForwardCacheDisabledForDelegate:"BackForwardCacheDisabledForDelegate",UnloadHandlerExistsInMainFrame:"UnloadHandlerExistsInMainFrame",UnloadHandlerExistsInSubFrame:"UnloadHandlerExistsInSubFrame",ServiceWorkerUnregistration:"ServiceWorkerUnregistration",CacheControlNoStore:"CacheControlNoStore",CacheControlNoStoreCookieModified:"CacheControlNoStoreCookieModified",CacheControlNoStoreHTTPOnlyCookieModified:"CacheControlNoStoreHTTPOnlyCookieModified",NoResponseHead:"NoResponseHead",Unknown:"Unknown",ActivationNavigationsDisallowedForBug1234857:"ActivationNavigationsDisallowedForBug1234857",ErrorDocument:"ErrorDocument",FencedFramesEmbedder:"FencedFramesEmbedder",CookieDisabled:"CookieDisabled",HTTPAuthRequired:"HTTPAuthRequired",CookieFlushed:"CookieFlushed",WebSocket:"WebSocket",WebTransport:"WebTransport",WebRTC:"WebRTC",MainResourceHasCacheControlNoStore:"MainResourceHasCacheControlNoStore",MainResourceHasCacheControlNoCache:"MainResourceHasCacheControlNoCache",SubresourceHasCacheControlNoStore:"SubresourceHasCacheControlNoStore",SubresourceHasCacheControlNoCache:"SubresourceHasCacheControlNoCache",ContainsPlugins:"ContainsPlugins",DocumentLoaded:"DocumentLoaded",OutstandingNetworkRequestOthers:"OutstandingNetworkRequestOthers",RequestedMIDIPermission:"RequestedMIDIPermission",RequestedAudioCapturePermission:"RequestedAudioCapturePermission",RequestedVideoCapturePermission:"RequestedVideoCapturePermission",RequestedBackForwardCacheBlockedSensors:"RequestedBackForwardCacheBlockedSensors",RequestedBackgroundWorkPermission:"RequestedBackgroundWorkPermission",BroadcastChannel:"BroadcastChannel",WebXR:"WebXR",SharedWorker:"SharedWorker",WebLocks:"WebLocks",WebHID:"WebHID",WebShare:"WebShare",RequestedStorageAccessGrant:"RequestedStorageAccessGrant",WebNfc:"WebNfc",OutstandingNetworkRequestFetch:"OutstandingNetworkRequestFetch",OutstandingNetworkRequestXHR:"OutstandingNetworkRequestXHR",AppBanner:"AppBanner",Printing:"Printing",WebDatabase:"WebDatabase",PictureInPicture:"PictureInPicture",Portal:"Portal",SpeechRecognizer:"SpeechRecognizer",IdleManager:"IdleManager",PaymentManager:"PaymentManager",SpeechSynthesis:"SpeechSynthesis",KeyboardLock:"KeyboardLock",WebOTPService:"WebOTPService",OutstandingNetworkRequestDirectSocket:"OutstandingNetworkRequestDirectSocket",InjectedJavascript:"InjectedJavascript",InjectedStyleSheet:"InjectedStyleSheet",KeepaliveRequest:"KeepaliveRequest",IndexedDBEvent:"IndexedDBEvent",Dummy:"Dummy",JsNetworkRequestReceivedCacheControlNoStoreResource:"JsNetworkRequestReceivedCacheControlNoStoreResource",WebRTCSticky:"WebRTCSticky",WebTransportSticky:"WebTransportSticky",WebSocketSticky:"WebSocketSticky",SmartCard:"SmartCard",LiveMediaStreamTrack:"LiveMediaStreamTrack",UnloadHandler:"UnloadHandler",ParserAborted:"ParserAborted",ContentSecurityHandler:"ContentSecurityHandler",ContentWebAuthenticationAPI:"ContentWebAuthenticationAPI",ContentFileChooser:"ContentFileChooser",ContentSerial:"ContentSerial",ContentFileSystemAccess:"ContentFileSystemAccess",ContentMediaDevicesDispatcherHost:"ContentMediaDevicesDispatcherHost",ContentWebBluetooth:"ContentWebBluetooth",ContentWebUSB:"ContentWebUSB",ContentMediaSessionService:"ContentMediaSessionService",ContentScreenReader:"ContentScreenReader",EmbedderPopupBlockerTabHelper:"EmbedderPopupBlockerTabHelper",EmbedderSafeBrowsingTriggeredPopupBlocker:"EmbedderSafeBrowsingTriggeredPopupBlocker",EmbedderSafeBrowsingThreatDetails:"EmbedderSafeBrowsingThreatDetails",EmbedderAppBannerManager:"EmbedderAppBannerManager",EmbedderDomDistillerViewerSource:"EmbedderDomDistillerViewerSource",EmbedderDomDistillerSelfDeletingRequestDelegate:"EmbedderDomDistillerSelfDeletingRequestDelegate",EmbedderOomInterventionTabHelper:"EmbedderOomInterventionTabHelper",EmbedderOfflinePage:"EmbedderOfflinePage",EmbedderChromePasswordManagerClientBindCredentialManager:"EmbedderChromePasswordManagerClientBindCredentialManager",EmbedderPermissionRequestManager:"EmbedderPermissionRequestManager",EmbedderModalDialog:"EmbedderModalDialog",EmbedderExtensions:"EmbedderExtensions",EmbedderExtensionMessaging:"EmbedderExtensionMessaging",EmbedderExtensionMessagingForOpenPort:"EmbedderExtensionMessagingForOpenPort",EmbedderExtensionSentMessageToCachedFrame:"EmbedderExtensionSentMessageToCachedFrame"}),e.registerEnum("Page.BackForwardCacheNotRestoredReasonType",{SupportPending:"SupportPending",PageSupportNeeded:"PageSupportNeeded",Circumstantial:"Circumstantial"}),e.registerEvent("Page.domContentEventFired",["timestamp"]),e.registerEnum("Page.FileChooserOpenedEventMode",{SelectSingle:"selectSingle",SelectMultiple:"selectMultiple"}),e.registerEvent("Page.fileChooserOpened",["frameId","mode","backendNodeId"]),e.registerEvent("Page.frameAttached",["frameId","parentFrameId","stack"]),e.registerEvent("Page.frameClearedScheduledNavigation",["frameId"]),e.registerEnum("Page.FrameDetachedEventReason",{Remove:"remove",Swap:"swap"}),e.registerEvent("Page.frameDetached",["frameId","reason"]),e.registerEvent("Page.frameNavigated",["frame","type"]),e.registerEvent("Page.documentOpened",["frame"]),e.registerEvent("Page.frameResized",[]),e.registerEvent("Page.frameRequestedNavigation",["frameId","reason","url","disposition"]),e.registerEvent("Page.frameScheduledNavigation",["frameId","delay","reason","url"]),e.registerEvent("Page.frameStartedLoading",["frameId"]),e.registerEvent("Page.frameStoppedLoading",["frameId"]),e.registerEvent("Page.downloadWillBegin",["frameId","guid","url","suggestedFilename"]),e.registerEnum("Page.DownloadProgressEventState",{InProgress:"inProgress",Completed:"completed",Canceled:"canceled"}),e.registerEvent("Page.downloadProgress",["guid","totalBytes","receivedBytes","state"]),e.registerEvent("Page.interstitialHidden",[]),e.registerEvent("Page.interstitialShown",[]),e.registerEvent("Page.javascriptDialogClosed",["result","userInput"]),e.registerEvent("Page.javascriptDialogOpening",["url","message","type","hasBrowserHandler","defaultPrompt"]),e.registerEvent("Page.lifecycleEvent",["frameId","loaderId","name","timestamp"]),e.registerEvent("Page.backForwardCacheNotUsed",["loaderId","frameId","notRestoredExplanations","notRestoredExplanationsTree"]),e.registerEvent("Page.loadEventFired",["timestamp"]),e.registerEvent("Page.navigatedWithinDocument",["frameId","url"]),e.registerEvent("Page.screencastFrame",["data","metadata","sessionId"]),e.registerEvent("Page.screencastVisibilityChanged",["visible"]),e.registerEvent("Page.windowOpen",["url","windowName","windowFeatures","userGesture"]),e.registerEvent("Page.compilationCacheProduced",["url","data"]),e.registerCommand("Page.addScriptToEvaluateOnLoad",[{name:"scriptSource",type:"string",optional:!1,description:"",typeRef:null}],["identifier"],"Deprecated, please use addScriptToEvaluateOnNewDocument instead."),e.registerCommand("Page.addScriptToEvaluateOnNewDocument",[{name:"source",type:"string",optional:!1,description:"",typeRef:null},{name:"worldName",type:"string",optional:!0,description:"If specified, creates an isolated world with the given name and evaluates given script in it. This world name will be used as the ExecutionContextDescription::name when the corresponding event is emitted.",typeRef:null},{name:"includeCommandLineAPI",type:"boolean",optional:!0,description:"Specifies whether command line API should be available to the script, defaults to false.",typeRef:null},{name:"runImmediately",type:"boolean",optional:!0,description:"If true, runs the script immediately on existing execution contexts or worlds. Default: false.",typeRef:null}],["identifier"],"Evaluates given script in every frame upon creation (before loading frame's scripts)."),e.registerCommand("Page.bringToFront",[],[],"Brings page to front (activates tab)."),e.registerEnum("Page.CaptureScreenshotRequestFormat",{Jpeg:"jpeg",Png:"png",Webp:"webp"}),e.registerCommand("Page.captureScreenshot",[{name:"format",type:"string",optional:!0,description:"Image compression format (defaults to png).",typeRef:"Page.CaptureScreenshotRequestFormat"},{name:"quality",type:"number",optional:!0,description:"Compression quality from range [0..100] (jpeg only).",typeRef:null},{name:"clip",type:"object",optional:!0,description:"Capture the screenshot of a given region only.",typeRef:"Page.Viewport"},{name:"fromSurface",type:"boolean",optional:!0,description:"Capture the screenshot from the surface, rather than the view. Defaults to true.",typeRef:null},{name:"captureBeyondViewport",type:"boolean",optional:!0,description:"Capture the screenshot beyond the viewport. Defaults to false.",typeRef:null},{name:"optimizeForSpeed",type:"boolean",optional:!0,description:"Optimize image encoding for speed, not for resulting size (defaults to false)",typeRef:null}],["data"],"Capture page screenshot."),e.registerEnum("Page.CaptureSnapshotRequestFormat",{MHTML:"mhtml"}),e.registerCommand("Page.captureSnapshot",[{name:"format",type:"string",optional:!0,description:"Format (defaults to mhtml).",typeRef:"Page.CaptureSnapshotRequestFormat"}],["data"],"Returns a snapshot of the page as a string. For MHTML format, the serialization includes iframes, shadow DOM, external resources, and element-inline styles."),e.registerCommand("Page.clearDeviceMetricsOverride",[],[],"Clears the overridden device metrics."),e.registerCommand("Page.clearDeviceOrientationOverride",[],[],"Clears the overridden Device Orientation."),e.registerCommand("Page.clearGeolocationOverride",[],[],"Clears the overridden Geolocation Position and Error."),e.registerCommand("Page.createIsolatedWorld",[{name:"frameId",type:"string",optional:!1,description:"Id of the frame in which the isolated world should be created.",typeRef:"Page.FrameId"},{name:"worldName",type:"string",optional:!0,description:"An optional name which is reported in the Execution Context.",typeRef:null},{name:"grantUniveralAccess",type:"boolean",optional:!0,description:"Whether or not universal access should be granted to the isolated world. This is a powerful option, use with caution.",typeRef:null}],["executionContextId"],"Creates an isolated world for the given frame."),e.registerCommand("Page.deleteCookie",[{name:"cookieName",type:"string",optional:!1,description:"Name of the cookie to remove.",typeRef:null},{name:"url",type:"string",optional:!1,description:"URL to match cooke domain and path.",typeRef:null}],[],"Deletes browser cookie with given name, domain and path."),e.registerCommand("Page.disable",[],[],"Disables page domain notifications."),e.registerCommand("Page.enable",[],[],"Enables page domain notifications."),e.registerCommand("Page.getAppManifest",[],["url","errors","data","parsed"],""),e.registerCommand("Page.getInstallabilityErrors",[],["installabilityErrors"],""),e.registerCommand("Page.getManifestIcons",[],["primaryIcon"],"Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation."),e.registerCommand("Page.getAppId",[],["appId","recommendedId"],"Returns the unique (PWA) app id. Only returns values if the feature flag 'WebAppEnableManifestId' is enabled"),e.registerCommand("Page.getAdScriptId",[{name:"frameId",type:"string",optional:!1,description:"",typeRef:"Page.FrameId"}],["adScriptId"],""),e.registerCommand("Page.getFrameTree",[],["frameTree"],"Returns present frame tree structure."),e.registerCommand("Page.getLayoutMetrics",[],["layoutViewport","visualViewport","contentSize","cssLayoutViewport","cssVisualViewport","cssContentSize"],"Returns metrics relating to the layouting of the page, such as viewport bounds/scale."),e.registerCommand("Page.getNavigationHistory",[],["currentIndex","entries"],"Returns navigation history for the current page."),e.registerCommand("Page.resetNavigationHistory",[],[],"Resets navigation history for the current page."),e.registerCommand("Page.getResourceContent",[{name:"frameId",type:"string",optional:!1,description:"Frame id to get resource for.",typeRef:"Page.FrameId"},{name:"url",type:"string",optional:!1,description:"URL of the resource to get content for.",typeRef:null}],["content","base64Encoded"],"Returns content of the given resource."),e.registerCommand("Page.getResourceTree",[],["frameTree"],"Returns present frame / resource tree structure."),e.registerCommand("Page.handleJavaScriptDialog",[{name:"accept",type:"boolean",optional:!1,description:"Whether to accept or dismiss the dialog.",typeRef:null},{name:"promptText",type:"string",optional:!0,description:"The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog.",typeRef:null}],[],"Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload)."),e.registerCommand("Page.navigate",[{name:"url",type:"string",optional:!1,description:"URL to navigate the page to.",typeRef:null},{name:"referrer",type:"string",optional:!0,description:"Referrer URL.",typeRef:null},{name:"transitionType",type:"string",optional:!0,description:"Intended transition type.",typeRef:"Page.TransitionType"},{name:"frameId",type:"string",optional:!0,description:"Frame id to navigate, if not specified navigates the top frame.",typeRef:"Page.FrameId"},{name:"referrerPolicy",type:"string",optional:!0,description:"Referrer-policy used for the navigation.",typeRef:"Page.ReferrerPolicy"}],["frameId","loaderId","errorText"],"Navigates current page to the given URL."),e.registerCommand("Page.navigateToHistoryEntry",[{name:"entryId",type:"number",optional:!1,description:"Unique id of the entry to navigate to.",typeRef:null}],[],"Navigates current page to the given history entry."),e.registerEnum("Page.PrintToPDFRequestTransferMode",{ReturnAsBase64:"ReturnAsBase64",ReturnAsStream:"ReturnAsStream"}),e.registerCommand("Page.printToPDF",[{name:"landscape",type:"boolean",optional:!0,description:"Paper orientation. Defaults to false.",typeRef:null},{name:"displayHeaderFooter",type:"boolean",optional:!0,description:"Display header and footer. Defaults to false.",typeRef:null},{name:"printBackground",type:"boolean",optional:!0,description:"Print background graphics. Defaults to false.",typeRef:null},{name:"scale",type:"number",optional:!0,description:"Scale of the webpage rendering. Defaults to 1.",typeRef:null},{name:"paperWidth",type:"number",optional:!0,description:"Paper width in inches. Defaults to 8.5 inches.",typeRef:null},{name:"paperHeight",type:"number",optional:!0,description:"Paper height in inches. Defaults to 11 inches.",typeRef:null},{name:"marginTop",type:"number",optional:!0,description:"Top margin in inches. Defaults to 1cm (~0.4 inches).",typeRef:null},{name:"marginBottom",type:"number",optional:!0,description:"Bottom margin in inches. Defaults to 1cm (~0.4 inches).",typeRef:null},{name:"marginLeft",type:"number",optional:!0,description:"Left margin in inches. Defaults to 1cm (~0.4 inches).",typeRef:null},{name:"marginRight",type:"number",optional:!0,description:"Right margin in inches. Defaults to 1cm (~0.4 inches).",typeRef:null},{name:"pageRanges",type:"string",optional:!0,description:"Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages are printed in the document order, not in the order specified, and no more than once. Defaults to empty string, which implies the entire document is printed. The page numbers are quietly capped to actual page count of the document, and ranges beyond the end of the document are ignored. If this results in no pages to print, an error is reported. It is an error to specify a range with start greater than end.",typeRef:null},{name:"headerTemplate",type:"string",optional:!0,description:"HTML template for the print header. Should be valid HTML markup with following classes used to inject printing values into them: - `date`: formatted print date - `title`: document title - `url`: document location - `pageNumber`: current page number - `totalPages`: total pages in the document For example, `` would generate span containing the title.",typeRef:null},{name:"footerTemplate",type:"string",optional:!0,description:"HTML template for the print footer. Should use the same format as the `headerTemplate`.",typeRef:null},{name:"preferCSSPageSize",type:"boolean",optional:!0,description:"Whether or not to prefer page size as defined by css. Defaults to false, in which case the content will be scaled to fit the paper size.",typeRef:null},{name:"transferMode",type:"string",optional:!0,description:"return as stream",typeRef:"Page.PrintToPDFRequestTransferMode"},{name:"generateTaggedPDF",type:"boolean",optional:!0,description:"Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice.",typeRef:null},{name:"generateDocumentOutline",type:"boolean",optional:!0,description:"Whether or not to embed the document outline into the PDF.",typeRef:null}],["data","stream"],"Print page as PDF."),e.registerCommand("Page.reload",[{name:"ignoreCache",type:"boolean",optional:!0,description:"If true, browser cache is ignored (as if the user pressed Shift+refresh).",typeRef:null},{name:"scriptToEvaluateOnLoad",type:"string",optional:!0,description:"If set, the script will be injected into all frames of the inspected page after reload. Argument will be ignored if reloading dataURL origin.",typeRef:null}],[],"Reloads given page optionally ignoring the cache."),e.registerCommand("Page.removeScriptToEvaluateOnLoad",[{name:"identifier",type:"string",optional:!1,description:"",typeRef:"Page.ScriptIdentifier"}],[],"Deprecated, please use removeScriptToEvaluateOnNewDocument instead."),e.registerCommand("Page.removeScriptToEvaluateOnNewDocument",[{name:"identifier",type:"string",optional:!1,description:"",typeRef:"Page.ScriptIdentifier"}],[],"Removes given script from the list."),e.registerCommand("Page.screencastFrameAck",[{name:"sessionId",type:"number",optional:!1,description:"Frame number.",typeRef:null}],[],"Acknowledges that a screencast frame has been received by the frontend."),e.registerCommand("Page.searchInResource",[{name:"frameId",type:"string",optional:!1,description:"Frame id for resource to search in.",typeRef:"Page.FrameId"},{name:"url",type:"string",optional:!1,description:"URL of the resource to search in.",typeRef:null},{name:"query",type:"string",optional:!1,description:"String to search for.",typeRef:null},{name:"caseSensitive",type:"boolean",optional:!0,description:"If true, search is case sensitive.",typeRef:null},{name:"isRegex",type:"boolean",optional:!0,description:"If true, treats string parameter as regex.",typeRef:null}],["result"],"Searches for given string in resource content."),e.registerCommand("Page.setAdBlockingEnabled",[{name:"enabled",type:"boolean",optional:!1,description:"Whether to block ads.",typeRef:null}],[],"Enable Chrome's experimental ad filter on all sites."),e.registerCommand("Page.setBypassCSP",[{name:"enabled",type:"boolean",optional:!1,description:"Whether to bypass page CSP.",typeRef:null}],[],"Enable page Content Security Policy by-passing."),e.registerCommand("Page.getPermissionsPolicyState",[{name:"frameId",type:"string",optional:!1,description:"",typeRef:"Page.FrameId"}],["states"],"Get Permissions Policy state on given frame."),e.registerCommand("Page.getOriginTrials",[{name:"frameId",type:"string",optional:!1,description:"",typeRef:"Page.FrameId"}],["originTrials"],"Get Origin Trials on given frame."),e.registerCommand("Page.setDeviceMetricsOverride",[{name:"width",type:"number",optional:!1,description:"Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.",typeRef:null},{name:"height",type:"number",optional:!1,description:"Overriding height value in pixels (minimum 0, maximum 10000000). 0 disables the override.",typeRef:null},{name:"deviceScaleFactor",type:"number",optional:!1,description:"Overriding device scale factor value. 0 disables the override.",typeRef:null},{name:"mobile",type:"boolean",optional:!1,description:"Whether to emulate mobile device. This includes viewport meta tag, overlay scrollbars, text autosizing and more.",typeRef:null},{name:"scale",type:"number",optional:!0,description:"Scale to apply to resulting view image.",typeRef:null},{name:"screenWidth",type:"number",optional:!0,description:"Overriding screen width value in pixels (minimum 0, maximum 10000000).",typeRef:null},{name:"screenHeight",type:"number",optional:!0,description:"Overriding screen height value in pixels (minimum 0, maximum 10000000).",typeRef:null},{name:"positionX",type:"number",optional:!0,description:"Overriding view X position on screen in pixels (minimum 0, maximum 10000000).",typeRef:null},{name:"positionY",type:"number",optional:!0,description:"Overriding view Y position on screen in pixels (minimum 0, maximum 10000000).",typeRef:null},{name:"dontSetVisibleSize",type:"boolean",optional:!0,description:"Do not set visible view size, rely upon explicit setVisibleSize call.",typeRef:null},{name:"screenOrientation",type:"object",optional:!0,description:"Screen orientation override.",typeRef:"Emulation.ScreenOrientation"},{name:"viewport",type:"object",optional:!0,description:"The viewport dimensions and scale. If not set, the override is cleared.",typeRef:"Page.Viewport"}],[],'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).'),e.registerCommand("Page.setDeviceOrientationOverride",[{name:"alpha",type:"number",optional:!1,description:"Mock alpha",typeRef:null},{name:"beta",type:"number",optional:!1,description:"Mock beta",typeRef:null},{name:"gamma",type:"number",optional:!1,description:"Mock gamma",typeRef:null}],[],"Overrides the Device Orientation."),e.registerCommand("Page.setFontFamilies",[{name:"fontFamilies",type:"object",optional:!1,description:"Specifies font families to set. If a font family is not specified, it won't be changed.",typeRef:"Page.FontFamilies"},{name:"forScripts",type:"array",optional:!0,description:"Specifies font families to set for individual scripts.",typeRef:"Page.ScriptFontFamilies"}],[],"Set generic font families."),e.registerCommand("Page.setFontSizes",[{name:"fontSizes",type:"object",optional:!1,description:"Specifies font sizes to set. If a font size is not specified, it won't be changed.",typeRef:"Page.FontSizes"}],[],"Set default font sizes."),e.registerCommand("Page.setDocumentContent",[{name:"frameId",type:"string",optional:!1,description:"Frame id to set HTML for.",typeRef:"Page.FrameId"},{name:"html",type:"string",optional:!1,description:"HTML content to set.",typeRef:null}],[],"Sets given markup as the document's HTML."),e.registerEnum("Page.SetDownloadBehaviorRequestBehavior",{Deny:"deny",Allow:"allow",Default:"default"}),e.registerCommand("Page.setDownloadBehavior",[{name:"behavior",type:"string",optional:!1,description:"Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny).",typeRef:"Page.SetDownloadBehaviorRequestBehavior"},{name:"downloadPath",type:"string",optional:!0,description:"The default path to save downloaded files to. This is required if behavior is set to 'allow'",typeRef:null}],[],"Set the behavior when downloading a file."),e.registerCommand("Page.setGeolocationOverride",[{name:"latitude",type:"number",optional:!0,description:"Mock latitude",typeRef:null},{name:"longitude",type:"number",optional:!0,description:"Mock longitude",typeRef:null},{name:"accuracy",type:"number",optional:!0,description:"Mock accuracy",typeRef:null}],[],"Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable."),e.registerCommand("Page.setLifecycleEventsEnabled",[{name:"enabled",type:"boolean",optional:!1,description:"If true, starts emitting lifecycle events.",typeRef:null}],[],"Controls whether page will emit lifecycle events.");e.registerEnum("Page.SetTouchEmulationEnabledRequestConfiguration",{Mobile:"mobile",Desktop:"desktop"}),e.registerCommand("Page.setTouchEmulationEnabled",[{name:"enabled",type:"boolean",optional:!1,description:"Whether the touch event emulation should be enabled.",typeRef:null},{name:"configuration",type:"string",optional:!0,description:"Touch/gesture events configuration. Default: current platform.",typeRef:"Page.SetTouchEmulationEnabledRequestConfiguration"}],[],"Toggles mouse event-based touch event emulation."),e.registerEnum("Page.StartScreencastRequestFormat",{Jpeg:"jpeg",Png:"png"}),e.registerCommand("Page.startScreencast",[{name:"format",type:"string",optional:!0,description:"Image compression format.",typeRef:"Page.StartScreencastRequestFormat"},{name:"quality",type:"number",optional:!0,description:"Compression quality from range [0..100].",typeRef:null},{name:"maxWidth",type:"number",optional:!0,description:"Maximum screenshot width.",typeRef:null},{name:"maxHeight",type:"number",optional:!0,description:"Maximum screenshot height.",typeRef:null},{name:"everyNthFrame",type:"number",optional:!0,description:"Send every n-th frame.",typeRef:null}],[],"Starts sending each frame using the `screencastFrame` event."),e.registerCommand("Page.stopLoading",[],[],"Force the page stop all navigations and pending resource fetches."),e.registerCommand("Page.crash",[],[],"Crashes renderer on the IO thread, generates minidumps."),e.registerCommand("Page.close",[],[],"Tries to close page, running its beforeunload hooks, if any."),e.registerEnum("Page.SetWebLifecycleStateRequestState",{Frozen:"frozen",Active:"active"}),e.registerCommand("Page.setWebLifecycleState",[{name:"state",type:"string",optional:!1,description:"Target lifecycle state",typeRef:"Page.SetWebLifecycleStateRequestState"}],[],"Tries to update the web lifecycle state of the page. It will transition the page to the given state according to: https://github.com/WICG/web-lifecycle/"),e.registerCommand("Page.stopScreencast",[],[],"Stops sending each frame in the `screencastFrame`."),e.registerCommand("Page.produceCompilationCache",[{name:"scripts",type:"array",optional:!1,description:"",typeRef:"Page.CompilationCacheParams"}],[],"Requests backend to produce compilation cache for the specified scripts. `scripts` are appended to the list of scripts for which the cache would be produced. The list may be reset during page navigation. When script with a matching URL is encountered, the cache is optionally produced upon backend discretion, based on internal heuristics. See also: `Page.compilationCacheProduced`."),e.registerCommand("Page.addCompilationCache",[{name:"url",type:"string",optional:!1,description:"",typeRef:null},{name:"data",type:"string",optional:!1,description:"Base64-encoded data",typeRef:null}],[],"Seeds compilation cache for given url. Compilation cache does not survive cross-process navigation."),e.registerCommand("Page.clearCompilationCache",[],[],"Clears seeded compilation cache."),e.registerCommand("Page.setSPCTransactionMode",[{name:"mode",type:"string",optional:!1,description:"",typeRef:"Page.AutoResponseMode"}],[],"Sets the Secure Payment Confirmation transaction mode. https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode"),e.registerCommand("Page.setRPHRegistrationMode",[{name:"mode",type:"string",optional:!1,description:"",typeRef:"Page.AutoResponseMode"}],[],"Extensions for Custom Handlers API: https://html.spec.whatwg.org/multipage/system-state.html#rph-automation"),e.registerCommand("Page.generateTestReport",[{name:"message",type:"string",optional:!1,description:"Message to be displayed in the report.",typeRef:null},{name:"group",type:"string",optional:!0,description:"Specifies the endpoint group to deliver the report to.",typeRef:null}],[],"Generates a report for testing."),e.registerCommand("Page.waitForDebugger",[],[],"Pauses page execution. Can be resumed using generic Runtime.runIfWaitingForDebugger."),e.registerCommand("Page.setInterceptFileChooserDialog",[{name:"enabled",type:"boolean",optional:!1,description:"",typeRef:null}],[],"Intercept file chooser requests and transfer control to protocol clients. When file chooser interception is enabled, native file chooser dialog is not shown. Instead, a protocol event `Page.fileChooserOpened` is emitted."),e.registerCommand("Page.setPrerenderingAllowed",[{name:"isAllowed",type:"boolean",optional:!1,description:"",typeRef:null}],[],"Enable/disable prerendering manually. This command is a short-term solution for https://crbug.com/1440085. See https://docs.google.com/document/d/12HVmFxYj5Jc-eJr5OmWsa2bqTJsbgGLKI6ZIyx0_wpA for more details. TODO(https://crbug.com/1440085): Remove this once Puppeteer supports tab targets."),e.registerType("Page.AdFrameStatus",[{name:"adFrameType",type:"string",optional:!1,description:"",typeRef:"Page.AdFrameType"},{name:"explanations",type:"array",optional:!0,description:"",typeRef:"Page.AdFrameExplanation"}]),e.registerType("Page.AdScriptId",[{name:"scriptId",type:"string",optional:!1,description:"Script Id of the bottom-most script which caused the frame to be labelled as an ad.",typeRef:"Runtime.ScriptId"},{name:"debuggerId",type:"string",optional:!1,description:"Id of adScriptId's debugger.",typeRef:"Runtime.UniqueDebuggerId"}]),e.registerType("Page.PermissionsPolicyBlockLocator",[{name:"frameId",type:"string",optional:!1,description:"",typeRef:"Page.FrameId"},{name:"blockReason",type:"string",optional:!1,description:"",typeRef:"Page.PermissionsPolicyBlockReason"}]),e.registerType("Page.PermissionsPolicyFeatureState",[{name:"feature",type:"string",optional:!1,description:"",typeRef:"Page.PermissionsPolicyFeature"},{name:"allowed",type:"boolean",optional:!1,description:"",typeRef:null},{name:"locator",type:"object",optional:!0,description:"",typeRef:"Page.PermissionsPolicyBlockLocator"}]),e.registerType("Page.OriginTrialToken",[{name:"origin",type:"string",optional:!1,description:"",typeRef:null},{name:"matchSubDomains",type:"boolean",optional:!1,description:"",typeRef:null},{name:"trialName",type:"string",optional:!1,description:"",typeRef:null},{name:"expiryTime",type:"number",optional:!1,description:"",typeRef:"Network.TimeSinceEpoch"},{name:"isThirdParty",type:"boolean",optional:!1,description:"",typeRef:null},{name:"usageRestriction",type:"string",optional:!1,description:"",typeRef:"Page.OriginTrialUsageRestriction"}]),e.registerType("Page.OriginTrialTokenWithStatus",[{name:"rawTokenText",type:"string",optional:!1,description:"",typeRef:null},{name:"parsedToken",type:"object",optional:!0,description:"`parsedToken` is present only when the token is extractable and parsable.",typeRef:"Page.OriginTrialToken"},{name:"status",type:"string",optional:!1,description:"",typeRef:"Page.OriginTrialTokenStatus"}]),e.registerType("Page.OriginTrial",[{name:"trialName",type:"string",optional:!1,description:"",typeRef:null},{name:"status",type:"string",optional:!1,description:"",typeRef:"Page.OriginTrialStatus"},{name:"tokensWithStatus",type:"array",optional:!1,description:"",typeRef:"Page.OriginTrialTokenWithStatus"}]),e.registerType("Page.Frame",[{name:"id",type:"string",optional:!1,description:"Frame unique identifier.",typeRef:"Page.FrameId"},{name:"parentId",type:"string",optional:!0,description:"Parent frame identifier.",typeRef:"Page.FrameId"},{name:"loaderId",type:"string",optional:!1,description:"Identifier of the loader associated with this frame.",typeRef:"Network.LoaderId"},{name:"name",type:"string",optional:!0,description:"Frame's name as specified in the tag.",typeRef:null},{name:"url",type:"string",optional:!1,description:"Frame document's URL without fragment.",typeRef:null},{name:"urlFragment",type:"string",optional:!0,description:"Frame document's URL fragment including the '#'.",typeRef:null},{name:"domainAndRegistry",type:"string",optional:!1,description:'Frame document\'s registered domain, taking the public suffixes list into account. Extracted from the Frame\'s url. Example URLs: http://www.google.com/file.html -> \\"google.com\\" http://a.b.co.uk/file.html -> \\"b.co.uk\\"',typeRef:null},{name:"securityOrigin",type:"string",optional:!1,description:"Frame document's security origin.",typeRef:null},{name:"mimeType",type:"string",optional:!1,description:"Frame document's mimeType as determined by the browser.",typeRef:null},{name:"unreachableUrl",type:"string",optional:!0,description:"If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment.",typeRef:null},{name:"adFrameStatus",type:"object",optional:!0,description:"Indicates whether this frame was tagged as an ad and why.",typeRef:"Page.AdFrameStatus"},{name:"secureContextType",type:"string",optional:!1,description:"Indicates whether the main document is a secure context and explains why that is the case.",typeRef:"Page.SecureContextType"},{name:"crossOriginIsolatedContextType",type:"string",optional:!1,description:"Indicates whether this is a cross origin isolated context.",typeRef:"Page.CrossOriginIsolatedContextType"},{name:"gatedAPIFeatures",type:"array",optional:!1,description:"Indicated which gated APIs / features are available.",typeRef:"Page.GatedAPIFeatures"}]),e.registerType("Page.FrameResource",[{name:"url",type:"string",optional:!1,description:"Resource URL.",typeRef:null},{name:"type",type:"string",optional:!1,description:"Type of this resource.",typeRef:"Network.ResourceType"},{name:"mimeType",type:"string",optional:!1,description:"Resource mimeType as determined by the browser.",typeRef:null},{name:"lastModified",type:"number",optional:!0,description:"last-modified timestamp as reported by server.",typeRef:"Network.TimeSinceEpoch"},{name:"contentSize",type:"number",optional:!0,description:"Resource content size.",typeRef:null},{name:"failed",type:"boolean",optional:!0,description:"True if the resource failed to load.",typeRef:null},{name:"canceled",type:"boolean",optional:!0,description:"True if the resource was canceled during loading.",typeRef:null}]),e.registerType("Page.FrameResourceTree",[{name:"frame",type:"object",optional:!1,description:"Frame information for this tree item.",typeRef:"Page.Frame"},{name:"childFrames",type:"array",optional:!0,description:"Child frames.",typeRef:"Page.FrameResourceTree"},{name:"resources",type:"array",optional:!1,description:"Information about frame resources.",typeRef:"Page.FrameResource"}]),e.registerType("Page.FrameTree",[{name:"frame",type:"object",optional:!1,description:"Frame information for this tree item.",typeRef:"Page.Frame"},{name:"childFrames",type:"array",optional:!0,description:"Child frames.",typeRef:"Page.FrameTree"}]),e.registerType("Page.NavigationEntry",[{name:"id",type:"number",optional:!1,description:"Unique id of the navigation history entry.",typeRef:null},{name:"url",type:"string",optional:!1,description:"URL of the navigation history entry.",typeRef:null},{name:"userTypedURL",type:"string",optional:!1,description:"URL that the user typed in the url bar.",typeRef:null},{name:"title",type:"string",optional:!1,description:"Title of the navigation history entry.",typeRef:null},{name:"transitionType",type:"string",optional:!1,description:"Transition type.",typeRef:"Page.TransitionType"}]),e.registerType("Page.ScreencastFrameMetadata",[{name:"offsetTop",type:"number",optional:!1,description:"Top offset in DIP.",typeRef:null},{name:"pageScaleFactor",type:"number",optional:!1,description:"Page scale factor.",typeRef:null},{name:"deviceWidth",type:"number",optional:!1,description:"Device screen width in DIP.",typeRef:null},{name:"deviceHeight",type:"number",optional:!1,description:"Device screen height in DIP.",typeRef:null},{name:"scrollOffsetX",type:"number",optional:!1,description:"Position of horizontal scroll in CSS pixels.",typeRef:null},{name:"scrollOffsetY",type:"number",optional:!1,description:"Position of vertical scroll in CSS pixels.",typeRef:null},{name:"timestamp",type:"number",optional:!0,description:"Frame swap timestamp.",typeRef:"Network.TimeSinceEpoch"}]),e.registerType("Page.AppManifestError",[{name:"message",type:"string",optional:!1,description:"Error message.",typeRef:null},{name:"critical",type:"number",optional:!1,description:"If critical, this is a non-recoverable parse error.",typeRef:null},{name:"line",type:"number",optional:!1,description:"Error line.",typeRef:null},{name:"column",type:"number",optional:!1,description:"Error column.",typeRef:null}]),e.registerType("Page.AppManifestParsedProperties",[{name:"scope",type:"string",optional:!1,description:"Computed scope value",typeRef:null}]),e.registerType("Page.LayoutViewport",[{name:"pageX",type:"number",optional:!1,description:"Horizontal offset relative to the document (CSS pixels).",typeRef:null},{name:"pageY",type:"number",optional:!1,description:"Vertical offset relative to the document (CSS pixels).",typeRef:null},{name:"clientWidth",type:"number",optional:!1,description:"Width (CSS pixels), excludes scrollbar if present.",typeRef:null},{name:"clientHeight",type:"number",optional:!1,description:"Height (CSS pixels), excludes scrollbar if present.",typeRef:null}]),e.registerType("Page.VisualViewport",[{name:"offsetX",type:"number",optional:!1,description:"Horizontal offset relative to the layout viewport (CSS pixels).",typeRef:null},{name:"offsetY",type:"number",optional:!1,description:"Vertical offset relative to the layout viewport (CSS pixels).",typeRef:null},{name:"pageX",type:"number",optional:!1,description:"Horizontal offset relative to the document (CSS pixels).",typeRef:null},{name:"pageY",type:"number",optional:!1,description:"Vertical offset relative to the document (CSS pixels).",typeRef:null},{name:"clientWidth",type:"number",optional:!1,description:"Width (CSS pixels), excludes scrollbar if present.",typeRef:null},{name:"clientHeight",type:"number",optional:!1,description:"Height (CSS pixels), excludes scrollbar if present.",typeRef:null},{name:"scale",type:"number",optional:!1,description:"Scale relative to the ideal viewport (size at width=device-width).",typeRef:null},{name:"zoom",type:"number",optional:!0,description:"Page zoom factor (CSS to device independent pixels ratio).",typeRef:null}]),e.registerType("Page.Viewport",[{name:"x",type:"number",optional:!1,description:"X offset in device independent pixels (dip).",typeRef:null},{name:"y",type:"number",optional:!1,description:"Y offset in device independent pixels (dip).",typeRef:null},{name:"width",type:"number",optional:!1,description:"Rectangle width in device independent pixels (dip).",typeRef:null},{name:"height",type:"number",optional:!1,description:"Rectangle height in device independent pixels (dip).",typeRef:null},{name:"scale",type:"number",optional:!1,description:"Page scale factor.",typeRef:null}]),e.registerType("Page.FontFamilies",[{name:"standard",type:"string",optional:!0,description:"The standard font-family.",typeRef:null},{name:"fixed",type:"string",optional:!0,description:"The fixed font-family.",typeRef:null},{name:"serif",type:"string",optional:!0,description:"The serif font-family.",typeRef:null},{name:"sansSerif",type:"string",optional:!0,description:"The sansSerif font-family.",typeRef:null},{name:"cursive",type:"string",optional:!0,description:"The cursive font-family.",typeRef:null},{name:"fantasy",type:"string",optional:!0,description:"The fantasy font-family.",typeRef:null},{name:"math",type:"string",optional:!0,description:"The math font-family.",typeRef:null}]),e.registerType("Page.ScriptFontFamilies",[{name:"script",type:"string",optional:!1,description:"Name of the script which these font families are defined for.",typeRef:null},{name:"fontFamilies",type:"object",optional:!1,description:"Generic font families collection for the script.",typeRef:"Page.FontFamilies"}]),e.registerType("Page.FontSizes",[{name:"standard",type:"number",optional:!0,description:"Default standard font size.",typeRef:null},{name:"fixed",type:"number",optional:!0,description:"Default fixed font size.",typeRef:null}]),e.registerType("Page.InstallabilityErrorArgument",[{name:"name",type:"string",optional:!1,description:"Argument name (e.g. name:'minimum-icon-size-in-pixels').",typeRef:null},{name:"value",type:"string",optional:!1,description:"Argument value (e.g. value:'64').",typeRef:null}]),e.registerType("Page.InstallabilityError",[{name:"errorId",type:"string",optional:!1,description:"The error id (e.g. 'manifest-missing-suitable-icon').",typeRef:null},{name:"errorArguments",type:"array",optional:!1,description:"The list of error arguments (e.g. {name:'minimum-icon-size-in-pixels', value:'64'}).",typeRef:"Page.InstallabilityErrorArgument"}]),e.registerType("Page.CompilationCacheParams",[{name:"url",type:"string",optional:!1,description:"The URL of the script to produce a compilation cache entry for.",typeRef:null},{name:"eager",type:"boolean",optional:!0,description:"A hint to the backend whether eager compilation is recommended. (the actual compilation mode used is upon backend discretion).",typeRef:null}]),e.registerType("Page.BackForwardCacheBlockingDetails",[{name:"url",type:"string",optional:!0,description:"Url of the file where blockage happened. Optional because of tests.",typeRef:null},{name:"function",type:"string",optional:!0,description:"Function name where blockage happened. Optional because of anonymous functions and tests.",typeRef:null},{name:"lineNumber",type:"number",optional:!1,description:"Line number in the script (0-based).",typeRef:null},{name:"columnNumber",type:"number",optional:!1,description:"Column number in the script (0-based).",typeRef:null}]),e.registerType("Page.BackForwardCacheNotRestoredExplanation",[{name:"type",type:"string",optional:!1,description:"Type of the reason",typeRef:"Page.BackForwardCacheNotRestoredReasonType"},{name:"reason",type:"string",optional:!1,description:"Not restored reason",typeRef:"Page.BackForwardCacheNotRestoredReason"},{name:"context",type:"string",optional:!0,description:"Context associated with the reason. The meaning of this context is dependent on the reason: - EmbedderExtensionSentMessageToCachedFrame: the extension ID.",typeRef:null},{name:"details",type:"array",optional:!0,description:"",typeRef:"Page.BackForwardCacheBlockingDetails"}]),e.registerType("Page.BackForwardCacheNotRestoredExplanationTree",[{name:"url",type:"string",optional:!1,description:"URL of each frame",typeRef:null},{name:"explanations",type:"array",optional:!1,description:"Not restored reasons of each frame",typeRef:"Page.BackForwardCacheNotRestoredExplanation"},{name:"children",type:"array",optional:!1,description:"Array of children frame",typeRef:"Page.BackForwardCacheNotRestoredExplanationTree"}]),e.registerEvent("Performance.metrics",["metrics","title"]),e.registerCommand("Performance.disable",[],[],"Disable collecting and reporting metrics."),e.registerEnum("Performance.EnableRequestTimeDomain",{TimeTicks:"timeTicks",ThreadTicks:"threadTicks"}),e.registerCommand("Performance.enable",[{name:"timeDomain",type:"string",optional:!0,description:"Time domain to use for collecting and reporting duration metrics.",typeRef:"Performance.EnableRequestTimeDomain"}],[],"Enable collecting and reporting metrics."),e.registerEnum("Performance.SetTimeDomainRequestTimeDomain",{TimeTicks:"timeTicks",ThreadTicks:"threadTicks"}),e.registerCommand("Performance.setTimeDomain",[{name:"timeDomain",type:"string",optional:!1,description:"Time domain",typeRef:"Performance.SetTimeDomainRequestTimeDomain"}],[],"Sets time domain to use for collecting and reporting duration metrics. Note that this must be called before enabling metrics collection. Calling this method while metrics collection is enabled returns an error."),e.registerCommand("Performance.getMetrics",[],["metrics"],"Retrieve current values of run-time metrics."),e.registerType("Performance.Metric",[{name:"name",type:"string",optional:!1,description:"Metric name.",typeRef:null},{name:"value",type:"number",optional:!1,description:"Metric value.",typeRef:null}]),e.registerEvent("PerformanceTimeline.timelineEventAdded",["event"]),e.registerCommand("PerformanceTimeline.enable",[{name:"eventTypes",type:"array",optional:!1,description:"The types of event to report, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype The specified filter overrides any previous filters, passing empty filter disables recording. Note that not all types exposed to the web platform are currently supported.",typeRef:"string"}],[],"Previously buffered events would be reported before method returns. See also: timelineEventAdded"),e.registerType("PerformanceTimeline.LargestContentfulPaint",[{name:"renderTime",type:"number",optional:!1,description:"",typeRef:"Network.TimeSinceEpoch"},{name:"loadTime",type:"number",optional:!1,description:"",typeRef:"Network.TimeSinceEpoch"},{name:"size",type:"number",optional:!1,description:"The number of pixels being painted.",typeRef:null},{name:"elementId",type:"string",optional:!0,description:"The id attribute of the element, if available.",typeRef:null},{name:"url",type:"string",optional:!0,description:"The URL of the image (may be trimmed).",typeRef:null},{name:"nodeId",type:"number",optional:!0,description:"",typeRef:"DOM.BackendNodeId"}]),e.registerType("PerformanceTimeline.LayoutShiftAttribution",[{name:"previousRect",type:"object",optional:!1,description:"",typeRef:"DOM.Rect"},{name:"currentRect",type:"object",optional:!1,description:"",typeRef:"DOM.Rect"},{name:"nodeId",type:"number",optional:!0,description:"",typeRef:"DOM.BackendNodeId"}]),e.registerType("PerformanceTimeline.LayoutShift",[{name:"value",type:"number",optional:!1,description:"Score increment produced by this event.",typeRef:null},{name:"hadRecentInput",type:"boolean",optional:!1,description:"",typeRef:null},{name:"lastInputTime",type:"number",optional:!1,description:"",typeRef:"Network.TimeSinceEpoch"},{name:"sources",type:"array",optional:!1,description:"",typeRef:"PerformanceTimeline.LayoutShiftAttribution"}]),e.registerType("PerformanceTimeline.TimelineEvent",[{name:"frameId",type:"string",optional:!1,description:"Identifies the frame that this event is related to. Empty for non-frame targets.",typeRef:"Page.FrameId"},{name:"type",type:"string",optional:!1,description:'The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype This determines which of the optional \\"details\\" fields is present.',typeRef:null},{name:"name",type:"string",optional:!1,description:"Name may be empty depending on the type.",typeRef:null},{name:"time",type:"number",optional:!1,description:"Time in seconds since Epoch, monotonically increasing within document lifetime.",typeRef:"Network.TimeSinceEpoch"},{name:"duration",type:"number",optional:!0,description:"Event duration, if applicable.",typeRef:null},{name:"lcpDetails",type:"object",optional:!0,description:"",typeRef:"PerformanceTimeline.LargestContentfulPaint"},{name:"layoutShiftDetails",type:"object",optional:!0,description:"",typeRef:"PerformanceTimeline.LayoutShift"}]),e.registerEnum("Security.MixedContentType",{Blockable:"blockable",OptionallyBlockable:"optionally-blockable",None:"none"}),e.registerEnum("Security.SecurityState",{Unknown:"unknown",Neutral:"neutral",Insecure:"insecure",Secure:"secure",Info:"info",InsecureBroken:"insecure-broken"}),e.registerEnum("Security.SafetyTipStatus",{BadReputation:"badReputation",Lookalike:"lookalike"}),e.registerEnum("Security.CertificateErrorAction",{Continue:"continue",Cancel:"cancel"}),e.registerEvent("Security.certificateError",["eventId","errorType","requestURL"]),e.registerEvent("Security.visibleSecurityStateChanged",["visibleSecurityState"]),e.registerEvent("Security.securityStateChanged",["securityState","schemeIsCryptographic","explanations","insecureContentStatus","summary"]),e.registerCommand("Security.disable",[],[],"Disables tracking security state changes."),e.registerCommand("Security.enable",[],[],"Enables tracking security state changes."),e.registerCommand("Security.setIgnoreCertificateErrors",[{name:"ignore",type:"boolean",optional:!1,description:"If true, all certificate errors will be ignored.",typeRef:null}],[],"Enable/disable whether all certificate errors should be ignored."),e.registerCommand("Security.handleCertificateError",[{name:"eventId",type:"number",optional:!1,description:"The ID of the event.",typeRef:null},{name:"action",type:"string",optional:!1,description:"The action to take on the certificate error.",typeRef:"Security.CertificateErrorAction"}],[],"Handles a certificate error that fired a certificateError event."),e.registerCommand("Security.setOverrideCertificateErrors",[{name:"override",type:"boolean",optional:!1,description:"If true, certificate errors will be overridden.",typeRef:null}],[],"Enable/disable overriding certificate errors. If enabled, all certificate error events need to be handled by the DevTools client and should be answered with `handleCertificateError` commands."),e.registerType("Security.CertificateSecurityState",[{name:"protocol",type:"string",optional:!1,description:'Protocol name (e.g. \\"TLS 1.2\\" or \\"QUIC\\").',typeRef:null},{name:"keyExchange",type:"string",optional:!1,description:"Key Exchange used by the connection, or the empty string if not applicable.",typeRef:null},{name:"keyExchangeGroup",type:"string",optional:!0,description:"(EC)DH group used by the connection, if applicable.",typeRef:null},{name:"cipher",type:"string",optional:!1,description:"Cipher name.",typeRef:null},{name:"mac",type:"string",optional:!0,description:"TLS MAC. Note that AEAD ciphers do not have separate MACs.",typeRef:null},{name:"certificate",type:"array",optional:!1,description:"Page certificate.",typeRef:"string"},{name:"subjectName",type:"string",optional:!1,description:"Certificate subject name.",typeRef:null},{name:"issuer",type:"string",optional:!1,description:"Name of the issuing CA.",typeRef:null},{name:"validFrom",type:"number",optional:!1,description:"Certificate valid from date.",typeRef:"Network.TimeSinceEpoch"},{name:"validTo",type:"number",optional:!1,description:"Certificate valid to (expiration) date",typeRef:"Network.TimeSinceEpoch"},{name:"certificateNetworkError",type:"string",optional:!0,description:"The highest priority network error code, if the certificate has an error.",typeRef:null},{name:"certificateHasWeakSignature",type:"boolean",optional:!1,description:"True if the certificate uses a weak signature algorithm.",typeRef:null},{name:"certificateHasSha1Signature",type:"boolean",optional:!1,description:"True if the certificate has a SHA1 signature in the chain.",typeRef:null},{name:"modernSSL",type:"boolean",optional:!1,description:"True if modern SSL",typeRef:null},{name:"obsoleteSslProtocol",type:"boolean",optional:!1,description:"True if the connection is using an obsolete SSL protocol.",typeRef:null},{name:"obsoleteSslKeyExchange",type:"boolean",optional:!1,description:"True if the connection is using an obsolete SSL key exchange.",typeRef:null},{name:"obsoleteSslCipher",type:"boolean",optional:!1,description:"True if the connection is using an obsolete SSL cipher.",typeRef:null},{name:"obsoleteSslSignature",type:"boolean",optional:!1,description:"True if the connection is using an obsolete SSL signature.",typeRef:null}]),e.registerType("Security.SafetyTipInfo",[{name:"safetyTipStatus",type:"string",optional:!1,description:"Describes whether the page triggers any safety tips or reputation warnings. Default is unknown.",typeRef:"Security.SafetyTipStatus"},{name:"safeUrl",type:"string",optional:!0,description:'The URL the safety tip suggested (\\"Did you mean?\\"). Only filled in for lookalike matches.',typeRef:null}]),e.registerType("Security.VisibleSecurityState",[{name:"securityState",type:"string",optional:!1,description:"The security level of the page.",typeRef:"Security.SecurityState"},{name:"certificateSecurityState",type:"object",optional:!0,description:"Security state details about the page certificate.",typeRef:"Security.CertificateSecurityState"},{name:"safetyTipInfo",type:"object",optional:!0,description:"The type of Safety Tip triggered on the page. Note that this field will be set even if the Safety Tip UI was not actually shown.",typeRef:"Security.SafetyTipInfo"},{name:"securityStateIssueIds",type:"array",optional:!1,description:"Array of security state issues ids.",typeRef:"string"}]),e.registerType("Security.SecurityStateExplanation",[{name:"securityState",type:"string",optional:!1,description:"Security state representing the severity of the factor being explained.",typeRef:"Security.SecurityState"},{name:"title",type:"string",optional:!1,description:"Title describing the type of factor.",typeRef:null},{name:"summary",type:"string",optional:!1,description:"Short phrase describing the type of factor.",typeRef:null},{name:"description",type:"string",optional:!1,description:"Full text explanation of the factor.",typeRef:null},{name:"mixedContentType",type:"string",optional:!1,description:"The type of mixed content described by the explanation.",typeRef:"Security.MixedContentType"},{name:"certificate",type:"array",optional:!1,description:"Page certificate.",typeRef:"string"},{name:"recommendations",type:"array",optional:!0,description:"Recommendations to fix any issues.",typeRef:"string"}]),e.registerType("Security.InsecureContentStatus",[{name:"ranMixedContent",type:"boolean",optional:!1,description:"Always false.",typeRef:null},{name:"displayedMixedContent",type:"boolean",optional:!1,description:"Always false.",typeRef:null},{name:"containedMixedForm",type:"boolean",optional:!1,description:"Always false.",typeRef:null},{name:"ranContentWithCertErrors",type:"boolean",optional:!1,description:"Always false.",typeRef:null},{name:"displayedContentWithCertErrors",type:"boolean",optional:!1,description:"Always false.",typeRef:null},{name:"ranInsecureContentStyle",type:"string",optional:!1,description:"Always set to unknown.",typeRef:"Security.SecurityState"},{name:"displayedInsecureContentStyle",type:"string",optional:!1,description:"Always set to unknown.",typeRef:"Security.SecurityState"}]),e.registerEnum("ServiceWorker.ServiceWorkerVersionRunningStatus",{Stopped:"stopped",Starting:"starting",Running:"running",Stopping:"stopping"}),e.registerEnum("ServiceWorker.ServiceWorkerVersionStatus",{New:"new",Installing:"installing",Installed:"installed",Activating:"activating",Activated:"activated",Redundant:"redundant"}),e.registerEvent("ServiceWorker.workerErrorReported",["errorMessage"]),e.registerEvent("ServiceWorker.workerRegistrationUpdated",["registrations"]),e.registerEvent("ServiceWorker.workerVersionUpdated",["versions"]),e.registerCommand("ServiceWorker.deliverPushMessage",[{name:"origin",type:"string",optional:!1,description:"",typeRef:null},{name:"registrationId",type:"string",optional:!1,description:"",typeRef:"ServiceWorker.RegistrationID"},{name:"data",type:"string",optional:!1,description:"",typeRef:null}],[],""),e.registerCommand("ServiceWorker.disable",[],[],""),e.registerCommand("ServiceWorker.dispatchSyncEvent",[{name:"origin",type:"string",optional:!1,description:"",typeRef:null},{name:"registrationId",type:"string",optional:!1,description:"",typeRef:"ServiceWorker.RegistrationID"},{name:"tag",type:"string",optional:!1,description:"",typeRef:null},{name:"lastChance",type:"boolean",optional:!1,description:"",typeRef:null}],[],""),e.registerCommand("ServiceWorker.dispatchPeriodicSyncEvent",[{name:"origin",type:"string",optional:!1,description:"",typeRef:null},{name:"registrationId",type:"string",optional:!1,description:"",typeRef:"ServiceWorker.RegistrationID"},{name:"tag",type:"string",optional:!1,description:"",typeRef:null}],[],""),e.registerCommand("ServiceWorker.enable",[],[],""),e.registerCommand("ServiceWorker.inspectWorker",[{name:"versionId",type:"string",optional:!1,description:"",typeRef:null}],[],""),e.registerCommand("ServiceWorker.setForceUpdateOnPageLoad",[{name:"forceUpdateOnPageLoad",type:"boolean",optional:!1,description:"",typeRef:null}],[],""),e.registerCommand("ServiceWorker.skipWaiting",[{name:"scopeURL",type:"string",optional:!1,description:"",typeRef:null}],[],""),e.registerCommand("ServiceWorker.startWorker",[{name:"scopeURL",type:"string",optional:!1,description:"",typeRef:null}],[],""),e.registerCommand("ServiceWorker.stopAllWorkers",[],[],""),e.registerCommand("ServiceWorker.stopWorker",[{name:"versionId",type:"string",optional:!1,description:"",typeRef:null}],[],""),e.registerCommand("ServiceWorker.unregister",[{name:"scopeURL",type:"string",optional:!1,description:"",typeRef:null}],[],""),e.registerCommand("ServiceWorker.updateRegistration",[{name:"scopeURL",type:"string",optional:!1,description:"",typeRef:null}],[],""),e.registerType("ServiceWorker.ServiceWorkerRegistration",[{name:"registrationId",type:"string",optional:!1,description:"",typeRef:"ServiceWorker.RegistrationID"},{name:"scopeURL",type:"string",optional:!1,description:"",typeRef:null},{name:"isDeleted",type:"boolean",optional:!1,description:"",typeRef:null}]),e.registerType("ServiceWorker.ServiceWorkerVersion",[{name:"versionId",type:"string",optional:!1,description:"",typeRef:null},{name:"registrationId",type:"string",optional:!1,description:"",typeRef:"ServiceWorker.RegistrationID"},{name:"scriptURL",type:"string",optional:!1,description:"",typeRef:null},{name:"runningStatus",type:"string",optional:!1,description:"",typeRef:"ServiceWorker.ServiceWorkerVersionRunningStatus"},{name:"status",type:"string",optional:!1,description:"",typeRef:"ServiceWorker.ServiceWorkerVersionStatus"},{name:"scriptLastModified",type:"number",optional:!0,description:"The Last-Modified header value of the main script.",typeRef:null},{name:"scriptResponseTime",type:"number",optional:!0,description:"The time at which the response headers of the main script were received from the server. For cached script it is the last time the cache entry was validated.",typeRef:null},{name:"controlledClients",type:"array",optional:!0,description:"",typeRef:"Target.TargetID"},{name:"targetId",type:"string",optional:!0,description:"",typeRef:"Target.TargetID"},{name:"routerRules",type:"string",optional:!0,description:"",typeRef:null}]),e.registerType("ServiceWorker.ServiceWorkerErrorMessage",[{name:"errorMessage",type:"string",optional:!1,description:"",typeRef:null},{name:"registrationId",type:"string",optional:!1,description:"",typeRef:"ServiceWorker.RegistrationID"},{name:"versionId",type:"string",optional:!1,description:"",typeRef:null},{name:"sourceURL",type:"string",optional:!1,description:"",typeRef:null},{name:"lineNumber",type:"number",optional:!1,description:"",typeRef:null},{name:"columnNumber",type:"number",optional:!1,description:"",typeRef:null}]),e.registerEnum("Storage.StorageType",{Appcache:"appcache",Cookies:"cookies",File_systems:"file_systems",Indexeddb:"indexeddb",Local_storage:"local_storage",Shader_cache:"shader_cache",Websql:"websql",Service_workers:"service_workers",Cache_storage:"cache_storage",Interest_groups:"interest_groups",Shared_storage:"shared_storage",Storage_buckets:"storage_buckets",All:"all",Other:"other"}),e.registerEnum("Storage.InterestGroupAccessType",{Join:"join",Leave:"leave",Update:"update",Loaded:"loaded",Bid:"bid",Win:"win",AdditionalBid:"additionalBid",AdditionalBidWin:"additionalBidWin",TopLevelBid:"topLevelBid",TopLevelAdditionalBid:"topLevelAdditionalBid",Clear:"clear"}),e.registerEnum("Storage.InterestGroupAuctionEventType",{Started:"started",ConfigResolved:"configResolved"}),e.registerEnum("Storage.InterestGroupAuctionFetchType",{BidderJs:"bidderJs",BidderWasm:"bidderWasm",SellerJs:"sellerJs",BidderTrustedSignals:"bidderTrustedSignals",SellerTrustedSignals:"sellerTrustedSignals"}),e.registerEnum("Storage.SharedStorageAccessType",{DocumentAddModule:"documentAddModule",DocumentSelectURL:"documentSelectURL",DocumentRun:"documentRun",DocumentSet:"documentSet",DocumentAppend:"documentAppend",DocumentDelete:"documentDelete",DocumentClear:"documentClear",WorkletSet:"workletSet",WorkletAppend:"workletAppend",WorkletDelete:"workletDelete",WorkletClear:"workletClear",WorkletGet:"workletGet",WorkletKeys:"workletKeys",WorkletEntries:"workletEntries",WorkletLength:"workletLength",WorkletRemainingBudget:"workletRemainingBudget"}),e.registerEnum("Storage.StorageBucketsDurability",{Relaxed:"relaxed",Strict:"strict"}),e.registerEnum("Storage.AttributionReportingSourceType",{Navigation:"navigation",Event:"event"}),e.registerEnum("Storage.AttributionReportingTriggerDataMatching",{Exact:"exact",Modulus:"modulus"}),e.registerEnum("Storage.AttributionReportingSourceRegistrationResult",{Success:"success",InternalError:"internalError",InsufficientSourceCapacity:"insufficientSourceCapacity",InsufficientUniqueDestinationCapacity:"insufficientUniqueDestinationCapacity",ExcessiveReportingOrigins:"excessiveReportingOrigins",ProhibitedByBrowserPolicy:"prohibitedByBrowserPolicy",SuccessNoised:"successNoised",DestinationReportingLimitReached:"destinationReportingLimitReached",DestinationGlobalLimitReached:"destinationGlobalLimitReached",DestinationBothLimitsReached:"destinationBothLimitsReached",ReportingOriginsPerSiteLimitReached:"reportingOriginsPerSiteLimitReached",ExceedsMaxChannelCapacity:"exceedsMaxChannelCapacity"}),e.registerEnum("Storage.AttributionReportingSourceRegistrationTimeConfig",{Include:"include",Exclude:"exclude"}),e.registerEnum("Storage.AttributionReportingEventLevelResult",{Success:"success",SuccessDroppedLowerPriority:"successDroppedLowerPriority",InternalError:"internalError",NoCapacityForAttributionDestination:"noCapacityForAttributionDestination",NoMatchingSources:"noMatchingSources",Deduplicated:"deduplicated",ExcessiveAttributions:"excessiveAttributions",PriorityTooLow:"priorityTooLow",NeverAttributedSource:"neverAttributedSource",ExcessiveReportingOrigins:"excessiveReportingOrigins",NoMatchingSourceFilterData:"noMatchingSourceFilterData",ProhibitedByBrowserPolicy:"prohibitedByBrowserPolicy",NoMatchingConfigurations:"noMatchingConfigurations",ExcessiveReports:"excessiveReports",FalselyAttributedSource:"falselyAttributedSource",ReportWindowPassed:"reportWindowPassed",NotRegistered:"notRegistered",ReportWindowNotStarted:"reportWindowNotStarted",NoMatchingTriggerData:"noMatchingTriggerData"}),e.registerEnum("Storage.AttributionReportingAggregatableResult",{Success:"success",InternalError:"internalError",NoCapacityForAttributionDestination:"noCapacityForAttributionDestination",NoMatchingSources:"noMatchingSources",ExcessiveAttributions:"excessiveAttributions",ExcessiveReportingOrigins:"excessiveReportingOrigins",NoHistograms:"noHistograms",InsufficientBudget:"insufficientBudget",NoMatchingSourceFilterData:"noMatchingSourceFilterData",NotRegistered:"notRegistered",ProhibitedByBrowserPolicy:"prohibitedByBrowserPolicy",Deduplicated:"deduplicated",ReportWindowPassed:"reportWindowPassed",ExcessiveReports:"excessiveReports"}),e.registerEvent("Storage.cacheStorageContentUpdated",["origin","storageKey","bucketId","cacheName"]),e.registerEvent("Storage.cacheStorageListUpdated",["origin","storageKey","bucketId"]),e.registerEvent("Storage.indexedDBContentUpdated",["origin","storageKey","bucketId","databaseName","objectStoreName"]),e.registerEvent("Storage.indexedDBListUpdated",["origin","storageKey","bucketId"]),e.registerEvent("Storage.interestGroupAccessed",["accessTime","type","ownerOrigin","name","componentSellerOrigin","bid","bidCurrency","uniqueAuctionId"]),e.registerEvent("Storage.interestGroupAuctionEventOccurred",["eventTime","type","uniqueAuctionId","parentAuctionId","auctionConfig"]),e.registerEvent("Storage.interestGroupAuctionNetworkRequestCreated",["type","requestId","auctions"]),e.registerEvent("Storage.sharedStorageAccessed",["accessTime","type","mainFrameId","ownerOrigin","params"]),e.registerEvent("Storage.storageBucketCreatedOrUpdated",["bucketInfo"]),e.registerEvent("Storage.storageBucketDeleted",["bucketId"]),e.registerEvent("Storage.attributionReportingSourceRegistered",["registration","result"]),e.registerEvent("Storage.attributionReportingTriggerRegistered",["registration","eventLevel","aggregatable"]),e.registerCommand("Storage.getStorageKeyForFrame",[{name:"frameId",type:"string",optional:!1,description:"",typeRef:"Page.FrameId"}],["storageKey"],"Returns a storage key given a frame id."),e.registerCommand("Storage.clearDataForOrigin",[{name:"origin",type:"string",optional:!1,description:"Security origin.",typeRef:null},{name:"storageTypes",type:"string",optional:!1,description:"Comma separated list of StorageType to clear.",typeRef:null}],[],"Clears storage for origin."),e.registerCommand("Storage.clearDataForStorageKey",[{name:"storageKey",type:"string",optional:!1,description:"Storage key.",typeRef:null},{name:"storageTypes",type:"string",optional:!1,description:"Comma separated list of StorageType to clear.",typeRef:null}],[],"Clears storage for storage key."),e.registerCommand("Storage.getCookies",[{name:"browserContextId",type:"string",optional:!0,description:"Browser context to use when called on the browser endpoint.",typeRef:"Browser.BrowserContextID"}],["cookies"],"Returns all browser cookies."),e.registerCommand("Storage.setCookies",[{name:"cookies",type:"array",optional:!1,description:"Cookies to be set.",typeRef:"Network.CookieParam"},{name:"browserContextId",type:"string",optional:!0,description:"Browser context to use when called on the browser endpoint.",typeRef:"Browser.BrowserContextID"}],[],"Sets given cookies."),e.registerCommand("Storage.clearCookies",[{name:"browserContextId",type:"string",optional:!0,description:"Browser context to use when called on the browser endpoint.",typeRef:"Browser.BrowserContextID"}],[],"Clears cookies."),e.registerCommand("Storage.getUsageAndQuota",[{name:"origin",type:"string",optional:!1,description:"Security origin.",typeRef:null}],["usage","quota","overrideActive","usageBreakdown"],"Returns usage and quota in bytes."),e.registerCommand("Storage.overrideQuotaForOrigin",[{name:"origin",type:"string",optional:!1,description:"Security origin.",typeRef:null},{name:"quotaSize",type:"number",optional:!0,description:"The quota size (in bytes) to override the original quota with. If this is called multiple times, the overridden quota will be equal to the quotaSize provided in the final call. If this is called without specifying a quotaSize, the quota will be reset to the default value for the specified origin. If this is called multiple times with different origins, the override will be maintained for each origin until it is disabled (called without a quotaSize).",typeRef:null}],[],"Override quota for the specified origin"),e.registerCommand("Storage.trackCacheStorageForOrigin",[{name:"origin",type:"string",optional:!1,description:"Security origin.",typeRef:null}],[],"Registers origin to be notified when an update occurs to its cache storage list."),e.registerCommand("Storage.trackCacheStorageForStorageKey",[{name:"storageKey",type:"string",optional:!1,description:"Storage key.",typeRef:null}],[],"Registers storage key to be notified when an update occurs to its cache storage list."),e.registerCommand("Storage.trackIndexedDBForOrigin",[{name:"origin",type:"string",optional:!1,description:"Security origin.",typeRef:null}],[],"Registers origin to be notified when an update occurs to its IndexedDB."),e.registerCommand("Storage.trackIndexedDBForStorageKey",[{name:"storageKey",type:"string",optional:!1,description:"Storage key.",typeRef:null}],[],"Registers storage key to be notified when an update occurs to its IndexedDB."),e.registerCommand("Storage.untrackCacheStorageForOrigin",[{name:"origin",type:"string",optional:!1,description:"Security origin.",typeRef:null}],[],"Unregisters origin from receiving notifications for cache storage."),e.registerCommand("Storage.untrackCacheStorageForStorageKey",[{name:"storageKey",type:"string",optional:!1,description:"Storage key.",typeRef:null}],[],"Unregisters storage key from receiving notifications for cache storage."),e.registerCommand("Storage.untrackIndexedDBForOrigin",[{name:"origin",type:"string",optional:!1,description:"Security origin.",typeRef:null}],[],"Unregisters origin from receiving notifications for IndexedDB."),e.registerCommand("Storage.untrackIndexedDBForStorageKey",[{name:"storageKey",type:"string",optional:!1,description:"Storage key.",typeRef:null}],[],"Unregisters storage key from receiving notifications for IndexedDB."),e.registerCommand("Storage.getTrustTokens",[],["tokens"],"Returns the number of stored Trust Tokens per issuer for the current browsing context."),e.registerCommand("Storage.clearTrustTokens",[{name:"issuerOrigin",type:"string",optional:!1,description:"",typeRef:null}],["didDeleteTokens"],"Removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer's Redemption Records, intact."),e.registerCommand("Storage.getInterestGroupDetails",[{name:"ownerOrigin",type:"string",optional:!1,description:"",typeRef:null},{name:"name",type:"string",optional:!1,description:"",typeRef:null}],["details"],"Gets details for a named interest group."),e.registerCommand("Storage.setInterestGroupTracking",[{name:"enable",type:"boolean",optional:!1,description:"",typeRef:null}],[],"Enables/Disables issuing of interestGroupAccessed events."),e.registerCommand("Storage.setInterestGroupAuctionTracking",[{name:"enable",type:"boolean",optional:!1,description:"",typeRef:null}],[],"Enables/Disables issuing of interestGroupAuctionEventOccurred and interestGroupAuctionNetworkRequestCreated."),e.registerCommand("Storage.getSharedStorageMetadata",[{name:"ownerOrigin",type:"string",optional:!1,description:"",typeRef:null}],["metadata"],"Gets metadata for an origin's shared storage."),e.registerCommand("Storage.getSharedStorageEntries",[{name:"ownerOrigin",type:"string",optional:!1,description:"",typeRef:null}],["entries"],"Gets the entries in an given origin's shared storage."),e.registerCommand("Storage.setSharedStorageEntry",[{name:"ownerOrigin",type:"string",optional:!1,description:"",typeRef:null},{name:"key",type:"string",optional:!1,description:"",typeRef:null},{name:"value",type:"string",optional:!1,description:"",typeRef:null},{name:"ignoreIfPresent",type:"boolean",optional:!0,description:"If `ignoreIfPresent` is included and true, then only sets the entry if `key` doesn't already exist.",typeRef:null}],[],"Sets entry with `key` and `value` for a given origin's shared storage."),e.registerCommand("Storage.deleteSharedStorageEntry",[{name:"ownerOrigin",type:"string",optional:!1,description:"",typeRef:null},{name:"key",type:"string",optional:!1,description:"",typeRef:null}],[],"Deletes entry for `key` (if it exists) for a given origin's shared storage."),e.registerCommand("Storage.clearSharedStorageEntries",[{name:"ownerOrigin",type:"string",optional:!1,description:"",typeRef:null}],[],"Clears all entries for a given origin's shared storage."),e.registerCommand("Storage.resetSharedStorageBudget",[{name:"ownerOrigin",type:"string",optional:!1,description:"",typeRef:null}],[],"Resets the budget for `ownerOrigin` by clearing all budget withdrawals."),e.registerCommand("Storage.setSharedStorageTracking",[{name:"enable",type:"boolean",optional:!1,description:"",typeRef:null}],[],"Enables/disables issuing of sharedStorageAccessed events."),e.registerCommand("Storage.setStorageBucketTracking",[{name:"storageKey",type:"string",optional:!1,description:"",typeRef:null},{name:"enable",type:"boolean",optional:!1,description:"",typeRef:null}],[],"Set tracking for a storage key's buckets."),e.registerCommand("Storage.deleteStorageBucket",[{name:"bucket",type:"object",optional:!1,description:"",typeRef:"Storage.StorageBucket"}],[],"Deletes the Storage Bucket with the given storage key and bucket name."),e.registerCommand("Storage.runBounceTrackingMitigations",[],["deletedSites"],"Deletes state for sites identified as potential bounce trackers, immediately."),e.registerCommand("Storage.setAttributionReportingLocalTestingMode",[{name:"enabled",type:"boolean",optional:!1,description:"If enabled, noise is suppressed and reports are sent immediately.",typeRef:null}],[],"https://wicg.github.io/attribution-reporting-api/"),e.registerCommand("Storage.setAttributionReportingTracking",[{name:"enable",type:"boolean",optional:!1,description:"",typeRef:null}],[],"Enables/disables issuing of Attribution Reporting events."),e.registerType("Storage.UsageForType",[{name:"storageType",type:"string",optional:!1,description:"Name of storage type.",typeRef:"Storage.StorageType"},{name:"usage",type:"number",optional:!1,description:"Storage usage (bytes).",typeRef:null}]),e.registerType("Storage.TrustTokens",[{name:"issuerOrigin",type:"string",optional:!1,description:"",typeRef:null},{name:"count",type:"number",optional:!1,description:"",typeRef:null}]),e.registerType("Storage.InterestGroupAd",[{name:"renderURL",type:"string",optional:!1,description:"",typeRef:null},{name:"metadata",type:"string",optional:!0,description:"",typeRef:null}]),e.registerType("Storage.InterestGroupDetails",[{name:"ownerOrigin",type:"string",optional:!1,description:"",typeRef:null},{name:"name",type:"string",optional:!1,description:"",typeRef:null},{name:"expirationTime",type:"number",optional:!1,description:"",typeRef:"Network.TimeSinceEpoch"},{name:"joiningOrigin",type:"string",optional:!1,description:"",typeRef:null},{name:"biddingLogicURL",type:"string",optional:!0,description:"",typeRef:null},{name:"biddingWasmHelperURL",type:"string",optional:!0,description:"",typeRef:null},{name:"updateURL",type:"string",optional:!0,description:"",typeRef:null},{name:"trustedBiddingSignalsURL",type:"string",optional:!0,description:"",typeRef:null},{name:"trustedBiddingSignalsKeys",type:"array",optional:!1,description:"",typeRef:"string"},{name:"userBiddingSignals",type:"string",optional:!0,description:"",typeRef:null},{name:"ads",type:"array",optional:!1,description:"",typeRef:"Storage.InterestGroupAd"},{name:"adComponents",type:"array",optional:!1,description:"",typeRef:"Storage.InterestGroupAd"}]),e.registerType("Storage.SharedStorageEntry",[{name:"key",type:"string",optional:!1,description:"",typeRef:null},{name:"value",type:"string",optional:!1,description:"",typeRef:null}]),e.registerType("Storage.SharedStorageMetadata",[{name:"creationTime",type:"number",optional:!1,description:"Time when the origin's shared storage was last created.",typeRef:"Network.TimeSinceEpoch"},{name:"length",type:"number",optional:!1,description:"Number of key-value pairs stored in origin's shared storage.",typeRef:null},{name:"remainingBudget",type:"number",optional:!1,description:"Current amount of bits of entropy remaining in the navigation budget.",typeRef:null},{name:"bytesUsed",type:"number",optional:!1,description:"Total number of bytes stored as key-value pairs in origin's shared storage.",typeRef:null}]),e.registerType("Storage.SharedStorageReportingMetadata",[{name:"eventType",type:"string",optional:!1,description:"",typeRef:null},{name:"reportingUrl",type:"string",optional:!1,description:"",typeRef:null}]),e.registerType("Storage.SharedStorageUrlWithMetadata",[{name:"url",type:"string",optional:!1,description:"Spec of candidate URL.",typeRef:null},{name:"reportingMetadata",type:"array",optional:!1,description:"Any associated reporting metadata.",typeRef:"Storage.SharedStorageReportingMetadata"}]),e.registerType("Storage.SharedStorageAccessParams",[{name:"scriptSourceUrl",type:"string",optional:!0,description:"Spec of the module script URL. Present only for SharedStorageAccessType.documentAddModule.",typeRef:null},{name:"operationName",type:"string",optional:!0,description:"Name of the registered operation to be run. Present only for SharedStorageAccessType.documentRun and SharedStorageAccessType.documentSelectURL.",typeRef:null},{name:"serializedData",type:"string",optional:!0,description:"The operation's serialized data in bytes (converted to a string). Present only for SharedStorageAccessType.documentRun and SharedStorageAccessType.documentSelectURL.",typeRef:null},{name:"urlsWithMetadata",type:"array",optional:!0,description:"Array of candidate URLs' specs, along with any associated metadata. Present only for SharedStorageAccessType.documentSelectURL.",typeRef:"Storage.SharedStorageUrlWithMetadata"},{name:"key",type:"string",optional:!0,description:"Key for a specific entry in an origin's shared storage. Present only for SharedStorageAccessType.documentSet, SharedStorageAccessType.documentAppend, SharedStorageAccessType.documentDelete, SharedStorageAccessType.workletSet, SharedStorageAccessType.workletAppend, SharedStorageAccessType.workletDelete, and SharedStorageAccessType.workletGet.",typeRef:null},{name:"value",type:"string",optional:!0,description:"Value for a specific entry in an origin's shared storage. Present only for SharedStorageAccessType.documentSet, SharedStorageAccessType.documentAppend, SharedStorageAccessType.workletSet, and SharedStorageAccessType.workletAppend.",typeRef:null},{name:"ignoreIfPresent",type:"boolean",optional:!0,description:"Whether or not to set an entry for a key if that key is already present. Present only for SharedStorageAccessType.documentSet and SharedStorageAccessType.workletSet.",typeRef:null}]),e.registerType("Storage.StorageBucket",[{name:"storageKey",type:"string",optional:!1,description:"",typeRef:"Storage.SerializedStorageKey"},{name:"name",type:"string",optional:!0,description:"If not specified, it is the default bucket of the storageKey.",typeRef:null}]),e.registerType("Storage.StorageBucketInfo",[{name:"bucket",type:"object",optional:!1,description:"",typeRef:"Storage.StorageBucket"},{name:"id",type:"string",optional:!1,description:"",typeRef:null},{name:"expiration",type:"number",optional:!1,description:"",typeRef:"Network.TimeSinceEpoch"},{name:"quota",type:"number",optional:!1,description:"Storage quota (bytes).",typeRef:null},{name:"persistent",type:"boolean",optional:!1,description:"",typeRef:null},{name:"durability",type:"string",optional:!1,description:"",typeRef:"Storage.StorageBucketsDurability"}]),e.registerType("Storage.AttributionReportingFilterDataEntry",[{name:"key",type:"string",optional:!1,description:"",typeRef:null},{name:"values",type:"array",optional:!1,description:"",typeRef:"string"}]),e.registerType("Storage.AttributionReportingFilterConfig",[{name:"filterValues",type:"array",optional:!1,description:"",typeRef:"Storage.AttributionReportingFilterDataEntry"},{name:"lookbackWindow",type:"number",optional:!0,description:"duration in seconds",typeRef:null}]),e.registerType("Storage.AttributionReportingFilterPair",[{name:"filters",type:"array",optional:!1,description:"",typeRef:"Storage.AttributionReportingFilterConfig"},{name:"notFilters",type:"array",optional:!1,description:"",typeRef:"Storage.AttributionReportingFilterConfig"}]),e.registerType("Storage.AttributionReportingAggregationKeysEntry",[{name:"key",type:"string",optional:!1,description:"",typeRef:null},{name:"value",type:"string",optional:!1,description:"",typeRef:"Storage.UnsignedInt128AsBase16"}]),e.registerType("Storage.AttributionReportingEventReportWindows",[{name:"start",type:"number",optional:!1,description:"duration in seconds",typeRef:null},{name:"ends",type:"array",optional:!1,description:"duration in seconds",typeRef:"integer"}]),e.registerType("Storage.AttributionReportingTriggerSpec",[{name:"triggerData",type:"array",optional:!1,description:"number instead of integer because not all uint32 can be represented by int",typeRef:"number"},{name:"eventReportWindows",type:"object",optional:!1,description:"",typeRef:"Storage.AttributionReportingEventReportWindows"}]),e.registerType("Storage.AttributionReportingSourceRegistration",[{name:"time",type:"number",optional:!1,description:"",typeRef:"Network.TimeSinceEpoch"},{name:"expiry",type:"number",optional:!1,description:"duration in seconds",typeRef:null},{name:"triggerSpecs",type:"array",optional:!1,description:"",typeRef:"Storage.AttributionReportingTriggerSpec"},{name:"aggregatableReportWindow",type:"number",optional:!1,description:"duration in seconds",typeRef:null},{name:"type",type:"string",optional:!1,description:"",typeRef:"Storage.AttributionReportingSourceType"},{name:"sourceOrigin",type:"string",optional:!1,description:"",typeRef:null},{name:"reportingOrigin",type:"string",optional:!1,description:"",typeRef:null},{name:"destinationSites",type:"array",optional:!1,description:"",typeRef:"string"},{name:"eventId",type:"string",optional:!1,description:"",typeRef:"Storage.UnsignedInt64AsBase10"},{name:"priority",type:"string",optional:!1,description:"",typeRef:"Storage.SignedInt64AsBase10"},{name:"filterData",type:"array",optional:!1,description:"",typeRef:"Storage.AttributionReportingFilterDataEntry"},{name:"aggregationKeys",type:"array",optional:!1,description:"",typeRef:"Storage.AttributionReportingAggregationKeysEntry"},{name:"debugKey",type:"string",optional:!0,description:"",typeRef:"Storage.UnsignedInt64AsBase10"},{name:"triggerDataMatching",type:"string",optional:!1,description:"",typeRef:"Storage.AttributionReportingTriggerDataMatching"}]),e.registerType("Storage.AttributionReportingAggregatableValueDictEntry",[{name:"key",type:"string",optional:!1,description:"",typeRef:null},{name:"value",type:"number",optional:!1,description:"number instead of integer because not all uint32 can be represented by int",typeRef:null}]),e.registerType("Storage.AttributionReportingAggregatableValueEntry",[{name:"values",type:"array",optional:!1,description:"",typeRef:"Storage.AttributionReportingAggregatableValueDictEntry"},{name:"filters",type:"object",optional:!1,description:"",typeRef:"Storage.AttributionReportingFilterPair"}]),e.registerType("Storage.AttributionReportingEventTriggerData",[{name:"data",type:"string",optional:!1,description:"",typeRef:"Storage.UnsignedInt64AsBase10"},{name:"priority",type:"string",optional:!1,description:"",typeRef:"Storage.SignedInt64AsBase10"},{name:"dedupKey",type:"string",optional:!0,description:"",typeRef:"Storage.UnsignedInt64AsBase10"},{name:"filters",type:"object",optional:!1,description:"",typeRef:"Storage.AttributionReportingFilterPair"}]),e.registerType("Storage.AttributionReportingAggregatableTriggerData",[{name:"keyPiece",type:"string",optional:!1,description:"",typeRef:"Storage.UnsignedInt128AsBase16"},{name:"sourceKeys",type:"array",optional:!1,description:"",typeRef:"string"},{name:"filters",type:"object",optional:!1,description:"",typeRef:"Storage.AttributionReportingFilterPair"}]),e.registerType("Storage.AttributionReportingAggregatableDedupKey",[{name:"dedupKey",type:"string",optional:!0,description:"",typeRef:"Storage.UnsignedInt64AsBase10"},{name:"filters",type:"object",optional:!1,description:"",typeRef:"Storage.AttributionReportingFilterPair"}]),e.registerType("Storage.AttributionReportingTriggerRegistration",[{name:"filters",type:"object",optional:!1,description:"",typeRef:"Storage.AttributionReportingFilterPair"},{name:"debugKey",type:"string",optional:!0,description:"",typeRef:"Storage.UnsignedInt64AsBase10"},{name:"aggregatableDedupKeys",type:"array",optional:!1,description:"",typeRef:"Storage.AttributionReportingAggregatableDedupKey"},{name:"eventTriggerData",type:"array",optional:!1,description:"",typeRef:"Storage.AttributionReportingEventTriggerData"},{name:"aggregatableTriggerData",type:"array",optional:!1,description:"",typeRef:"Storage.AttributionReportingAggregatableTriggerData"},{name:"aggregatableValues",type:"array",optional:!1,description:"",typeRef:"Storage.AttributionReportingAggregatableValueEntry"},{name:"debugReporting",type:"boolean",optional:!1,description:"",typeRef:null},{name:"aggregationCoordinatorOrigin",type:"string",optional:!0,description:"",typeRef:null},{name:"sourceRegistrationTimeConfig",type:"string",optional:!1,description:"",typeRef:"Storage.AttributionReportingSourceRegistrationTimeConfig"},{name:"triggerContextId",type:"string",optional:!0,description:"",typeRef:null}]),e.registerEnum("SystemInfo.SubsamplingFormat",{Yuv420:"yuv420",Yuv422:"yuv422",Yuv444:"yuv444"}),e.registerEnum("SystemInfo.ImageType",{Jpeg:"jpeg",Webp:"webp",Unknown:"unknown"}),e.registerCommand("SystemInfo.getInfo",[],["gpu","modelName","modelVersion","commandLine"],"Returns information about the system."),e.registerCommand("SystemInfo.getFeatureState",[{name:"featureState",type:"string",optional:!1,description:"",typeRef:null}],["featureEnabled"],"Returns information about the feature state."),e.registerCommand("SystemInfo.getProcessInfo",[],["processInfo"],"Returns information about all running processes."),e.registerType("SystemInfo.GPUDevice",[{name:"vendorId",type:"number",optional:!1,description:"PCI ID of the GPU vendor, if available; 0 otherwise.",typeRef:null},{name:"deviceId",type:"number",optional:!1,description:"PCI ID of the GPU device, if available; 0 otherwise.",typeRef:null},{name:"subSysId",type:"number",optional:!0,description:"Sub sys ID of the GPU, only available on Windows.",typeRef:null},{name:"revision",type:"number",optional:!0,description:"Revision of the GPU, only available on Windows.",typeRef:null},{name:"vendorString",type:"string",optional:!1,description:"String description of the GPU vendor, if the PCI ID is not available.",typeRef:null},{name:"deviceString",type:"string",optional:!1,description:"String description of the GPU device, if the PCI ID is not available.",typeRef:null},{name:"driverVendor",type:"string",optional:!1,description:"String description of the GPU driver vendor.",typeRef:null},{name:"driverVersion",type:"string",optional:!1,description:"String description of the GPU driver version.",typeRef:null}]),e.registerType("SystemInfo.Size",[{name:"width",type:"number",optional:!1,description:"Width in pixels.",typeRef:null},{name:"height",type:"number",optional:!1,description:"Height in pixels.",typeRef:null}]),e.registerType("SystemInfo.VideoDecodeAcceleratorCapability",[{name:"profile",type:"string",optional:!1,description:"Video codec profile that is supported, e.g. VP9 Profile 2.",typeRef:null},{name:"maxResolution",type:"object",optional:!1,description:"Maximum video dimensions in pixels supported for this |profile|.",typeRef:"SystemInfo.Size"},{name:"minResolution",type:"object",optional:!1,description:"Minimum video dimensions in pixels supported for this |profile|.",typeRef:"SystemInfo.Size"}]),e.registerType("SystemInfo.VideoEncodeAcceleratorCapability",[{name:"profile",type:"string",optional:!1,description:"Video codec profile that is supported, e.g H264 Main.",typeRef:null},{name:"maxResolution",type:"object",optional:!1,description:"Maximum video dimensions in pixels supported for this |profile|.",typeRef:"SystemInfo.Size"},{name:"maxFramerateNumerator",type:"number",optional:!1,description:"Maximum encoding framerate in frames per second supported for this |profile|, as fraction's numerator and denominator, e.g. 24/1 fps, 24000/1001 fps, etc.",typeRef:null},{name:"maxFramerateDenominator",type:"number",optional:!1,description:"",typeRef:null}]),e.registerType("SystemInfo.ImageDecodeAcceleratorCapability",[{name:"imageType",type:"string",optional:!1,description:"Image coded, e.g. Jpeg.",typeRef:"SystemInfo.ImageType"},{name:"maxDimensions",type:"object",optional:!1,description:"Maximum supported dimensions of the image in pixels.",typeRef:"SystemInfo.Size"},{name:"minDimensions",type:"object",optional:!1,description:"Minimum supported dimensions of the image in pixels.",typeRef:"SystemInfo.Size"},{name:"subsamplings",type:"array",optional:!1,description:"Optional array of supported subsampling formats, e.g. 4:2:0, if known.",typeRef:"SystemInfo.SubsamplingFormat"}]),e.registerType("SystemInfo.GPUInfo",[{name:"devices",type:"array",optional:!1,description:"The graphics devices on the system. Element 0 is the primary GPU.",typeRef:"SystemInfo.GPUDevice"},{name:"auxAttributes",type:"object",optional:!0,description:"An optional dictionary of additional GPU related attributes.",typeRef:null},{name:"featureStatus",type:"object",optional:!0,description:"An optional dictionary of graphics features and their status.",typeRef:null},{name:"driverBugWorkarounds",type:"array",optional:!1,description:"An optional array of GPU driver bug workarounds.",typeRef:"string"},{name:"videoDecoding",type:"array",optional:!1,description:"Supported accelerated video decoding capabilities.",typeRef:"SystemInfo.VideoDecodeAcceleratorCapability"},{name:"videoEncoding",type:"array",optional:!1,description:"Supported accelerated video encoding capabilities.",typeRef:"SystemInfo.VideoEncodeAcceleratorCapability"},{name:"imageDecoding",type:"array",optional:!1,description:"Supported accelerated image decoding capabilities.",typeRef:"SystemInfo.ImageDecodeAcceleratorCapability"}]),e.registerType("SystemInfo.ProcessInfo",[{name:"type",type:"string",optional:!1,description:"Specifies process type.",typeRef:null},{name:"id",type:"number",optional:!1,description:"Specifies process id.",typeRef:null},{name:"cpuTime",type:"number",optional:!1,description:"Specifies cumulative CPU usage in seconds across all threads of the process since the process start.",typeRef:null}]),e.registerEvent("Target.attachedToTarget",["sessionId","targetInfo","waitingForDebugger"]),e.registerEvent("Target.detachedFromTarget",["sessionId","targetId"]),e.registerEvent("Target.receivedMessageFromTarget",["sessionId","message","targetId"]),e.registerEvent("Target.targetCreated",["targetInfo"]),e.registerEvent("Target.targetDestroyed",["targetId"]),e.registerEvent("Target.targetCrashed",["targetId","status","errorCode"]),e.registerEvent("Target.targetInfoChanged",["targetInfo"]),e.registerCommand("Target.activateTarget",[{name:"targetId",type:"string",optional:!1,description:"",typeRef:"Target.TargetID"}],[],"Activates (focuses) the target."),e.registerCommand("Target.attachToTarget",[{name:"targetId",type:"string",optional:!1,description:"",typeRef:"Target.TargetID"},{name:"flatten",type:"boolean",optional:!0,description:'Enables \\"flat\\" access to the session via specifying sessionId attribute in the commands. We plan to make this the default, deprecate non-flattened mode, and eventually retire it. See crbug.com/991325.',typeRef:null}],["sessionId"],"Attaches to the target with given id."),e.registerCommand("Target.attachToBrowserTarget",[],["sessionId"],"Attaches to the browser target, only uses flat sessionId mode."),e.registerCommand("Target.closeTarget",[{name:"targetId",type:"string",optional:!1,description:"",typeRef:"Target.TargetID"}],["success"],"Closes the target. If the target is a page that gets closed too."),e.registerCommand("Target.exposeDevToolsProtocol",[{name:"targetId",type:"string",optional:!1,description:"",typeRef:"Target.TargetID"},{name:"bindingName",type:"string",optional:!0,description:"Binding name, 'cdp' if not specified.",typeRef:null}],[],"Inject object to the target's main frame that provides a communication channel with browser target. Injected object will be available as `window[bindingName]`. The object has the following API: - `binding.send(json)` - a method to send messages over the remote debugging protocol - `binding.onmessage = json => handleMessage(json)` - a callback that will be called for the protocol notifications and command responses."),e.registerCommand("Target.createBrowserContext",[{name:"disposeOnDetach",type:"boolean",optional:!0,description:"If specified, disposes this context when debugging session disconnects.",typeRef:null},{name:"proxyServer",type:"string",optional:!0,description:"Proxy server, similar to the one passed to --proxy-server",typeRef:null},{name:"proxyBypassList",type:"string",optional:!0,description:"Proxy bypass list, similar to the one passed to --proxy-bypass-list",typeRef:null},{name:"originsWithUniversalNetworkAccess",type:"array",optional:!0,description:"An optional list of origins to grant unlimited cross-origin access to. Parts of the URL other than those constituting origin are ignored.",typeRef:"string"}],["browserContextId"],"Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than one."),e.registerCommand("Target.getBrowserContexts",[],["browserContextIds"],"Returns all browser contexts created with `Target.createBrowserContext` method."),e.registerCommand("Target.createTarget",[{name:"url",type:"string",optional:!1,description:"The initial URL the page will be navigated to. An empty string indicates about:blank.",typeRef:null},{name:"width",type:"number",optional:!0,description:"Frame width in DIP (headless chrome only).",typeRef:null},{name:"height",type:"number",optional:!0,description:"Frame height in DIP (headless chrome only).",typeRef:null},{name:"browserContextId",type:"string",optional:!0,description:"The browser context to create the page in.",typeRef:"Browser.BrowserContextID"},{name:"enableBeginFrameControl",type:"boolean",optional:!0,description:"Whether BeginFrames for this target will be controlled via DevTools (headless chrome only, not supported on MacOS yet, false by default).",typeRef:null},{name:"newWindow",type:"boolean",optional:!0,description:"Whether to create a new Window or Tab (chrome-only, false by default).",typeRef:null},{name:"background",type:"boolean",optional:!0,description:"Whether to create the target in background or foreground (chrome-only, false by default).",typeRef:null},{name:"forTab",type:"boolean",optional:!0,description:'Whether to create the target of type \\"tab\\".',typeRef:null}],["targetId"],"Creates a new page."),e.registerCommand("Target.detachFromTarget",[{name:"sessionId",type:"string",optional:!0,description:"Session to detach.",typeRef:"Target.SessionID"},{name:"targetId",type:"string",optional:!0,description:"Deprecated.",typeRef:"Target.TargetID"}],[],"Detaches session with given id."),e.registerCommand("Target.disposeBrowserContext",[{name:"browserContextId",type:"string",optional:!1,description:"",typeRef:"Browser.BrowserContextID"}],[],"Deletes a BrowserContext. All the belonging pages will be closed without calling their beforeunload hooks."),e.registerCommand("Target.getTargetInfo",[{name:"targetId",type:"string",optional:!0,description:"",typeRef:"Target.TargetID"}],["targetInfo"],"Returns information about a target."),e.registerCommand("Target.getTargets",[{name:"filter",type:"array",optional:!0,description:"Only targets matching filter will be reported. If filter is not specified and target discovery is currently enabled, a filter used for target discovery is used for consistency.",typeRef:"Target.TargetFilter"}],["targetInfos"],"Retrieves a list of available targets."),e.registerCommand("Target.sendMessageToTarget",[{name:"message",type:"string",optional:!1,description:"",typeRef:null},{name:"sessionId",type:"string",optional:!0,description:"Identifier of the session.",typeRef:"Target.SessionID"},{name:"targetId",type:"string",optional:!0,description:"Deprecated.",typeRef:"Target.TargetID"}],[],"Sends protocol message over session with given id. Consider using flat mode instead; see commands attachToTarget, setAutoAttach, and crbug.com/991325."),e.registerCommand("Target.setAutoAttach",[{name:"autoAttach",type:"boolean",optional:!1,description:"Whether to auto-attach to related targets.",typeRef:null},{name:"waitForDebuggerOnStart",type:"boolean",optional:!1,description:"Whether to pause new targets when attaching to them. Use `Runtime.runIfWaitingForDebugger` to run paused targets.",typeRef:null},{name:"flatten",type:"boolean",optional:!0,description:'Enables \\"flat\\" access to the session via specifying sessionId attribute in the commands. We plan to make this the default, deprecate non-flattened mode, and eventually retire it. See crbug.com/991325.',typeRef:null},{name:"filter",type:"array",optional:!0,description:"Only targets matching filter will be attached.",typeRef:"Target.TargetFilter"}],[],"Controls whether to automatically attach to new targets which are considered to be related to this one. When turned on, attaches to all existing related targets as well. When turned off, automatically detaches from all currently attached targets. This also clears all targets added by `autoAttachRelated` from the list of targets to watch for creation of related targets."),e.registerCommand("Target.autoAttachRelated",[{name:"targetId",type:"string",optional:!1,description:"",typeRef:"Target.TargetID"},{name:"waitForDebuggerOnStart",type:"boolean",optional:!1,description:"Whether to pause new targets when attaching to them. Use `Runtime.runIfWaitingForDebugger` to run paused targets.",typeRef:null},{name:"filter",type:"array",optional:!0,description:"Only targets matching filter will be attached.",typeRef:"Target.TargetFilter"}],[],"Adds the specified target to the list of targets that will be monitored for any related target creation (such as child frames, child workers and new versions of service worker) and reported through `attachedToTarget`. The specified target is also auto-attached. This cancels the effect of any previous `setAutoAttach` and is also cancelled by subsequent `setAutoAttach`. Only available at the Browser target."),e.registerCommand("Target.setDiscoverTargets",[{name:"discover",type:"boolean",optional:!1,description:"Whether to discover available targets.",typeRef:null},{name:"filter",type:"array",optional:!0,description:"Only targets matching filter will be attached. If `discover` is false, `filter` must be omitted or empty.",typeRef:"Target.TargetFilter"}],[],"Controls whether to discover available targets and notify via `targetCreated/targetInfoChanged/targetDestroyed` events."),e.registerCommand("Target.setRemoteLocations",[{name:"locations",type:"array",optional:!1,description:"List of remote locations.",typeRef:"Target.RemoteLocation"}],[],"Enables target discovery for the specified locations, when `setDiscoverTargets` was set to `true`."),e.registerType("Target.TargetInfo",[{name:"targetId",type:"string",optional:!1,description:"",typeRef:"Target.TargetID"},{name:"type",type:"string",optional:!1,description:"List of types: https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_agent_host_impl.cc?ss=chromium&q=f:devtools%20-f:out%20%22::kTypeTab%5B%5D%22",typeRef:null},{name:"title",type:"string",optional:!1,description:"",typeRef:null},{name:"url",type:"string",optional:!1,description:"",typeRef:null},{name:"attached",type:"boolean",optional:!1,description:"Whether the target has an attached client.",typeRef:null},{name:"openerId",type:"string",optional:!0,description:"Opener target Id",typeRef:"Target.TargetID"},{name:"canAccessOpener",type:"boolean",optional:!1,description:"Whether the target has access to the originating window.",typeRef:null},{name:"openerFrameId",type:"string",optional:!0,description:"Frame id of originating window (is only set if target has an opener).",typeRef:"Page.FrameId"},{name:"browserContextId",type:"string",optional:!0,description:"",typeRef:"Browser.BrowserContextID"},{name:"subtype",type:"string",optional:!0,description:'Provides additional details for specific target types. For example, for the type of \\"page\\", this may be set to \\"portal\\" or \\"prerender\\".',typeRef:null}]),e.registerType("Target.FilterEntry",[{name:"exclude",type:"boolean",optional:!0,description:"If set, causes exclusion of matching targets from the list.",typeRef:null},{name:"type",type:"string",optional:!0,description:"If not present, matches any type.",typeRef:null}]),e.registerType("Target.TargetFilter",[{name:"TargetFilter",type:"array",optional:!1,description:'The entries in TargetFilter are matched sequentially against targets and the first entry that matches determines if the target is included or not, depending on the value of `exclude` field in the entry. If filter is not specified, the one assumed is [{type: \\"browser\\", exclude: true}, {type: \\"tab\\", exclude: true}, {}] (i.e. include everything but `browser` and `tab`).',typeRef:"Target.FilterEntry"}]),e.registerType("Target.RemoteLocation",[{name:"host",type:"string",optional:!1,description:"",typeRef:null},{name:"port",type:"number",optional:!1,description:"",typeRef:null}]),e.registerEvent("Tethering.accepted",["port","connectionId"]),e.registerCommand("Tethering.bind",[{name:"port",type:"number",optional:!1,description:"Port number to bind.",typeRef:null}],[],"Request browser port binding."),e.registerCommand("Tethering.unbind",[{name:"port",type:"number",optional:!1,description:"Port number to unbind.",typeRef:null}],[],"Request browser port unbinding."),e.registerEnum("Tracing.TraceConfigRecordMode",{RecordUntilFull:"recordUntilFull",RecordContinuously:"recordContinuously",RecordAsMuchAsPossible:"recordAsMuchAsPossible",EchoToConsole:"echoToConsole"}),e.registerEnum("Tracing.StreamFormat",{Json:"json",Proto:"proto"}),e.registerEnum("Tracing.StreamCompression",{None:"none",Gzip:"gzip"}),e.registerEnum("Tracing.MemoryDumpLevelOfDetail",{Background:"background",Light:"light",Detailed:"detailed"}),e.registerEnum("Tracing.TracingBackend",{Auto:"auto",Chrome:"chrome",System:"system"}),e.registerEvent("Tracing.bufferUsage",["percentFull","eventCount","value"]),e.registerEvent("Tracing.dataCollected",["value"]),e.registerEvent("Tracing.tracingComplete",["dataLossOccurred","stream","traceFormat","streamCompression"]),e.registerCommand("Tracing.end",[],[],"Stop trace events collection."),e.registerCommand("Tracing.getCategories",[],["categories"],"Gets supported tracing categories."),e.registerCommand("Tracing.recordClockSyncMarker",[{name:"syncId",type:"string",optional:!1,description:"The ID of this clock sync marker",typeRef:null}],[],"Record a clock sync marker in the trace."),e.registerCommand("Tracing.requestMemoryDump",[{name:"deterministic",type:"boolean",optional:!0,description:"Enables more deterministic results by forcing garbage collection",typeRef:null},{name:"levelOfDetail",type:"string",optional:!0,description:'Specifies level of details in memory dump. Defaults to \\"detailed\\".',typeRef:"Tracing.MemoryDumpLevelOfDetail"}],["dumpGuid","success"],"Request a global memory dump."),e.registerEnum("Tracing.StartRequestTransferMode",{ReportEvents:"ReportEvents",ReturnAsStream:"ReturnAsStream"}),e.registerCommand("Tracing.start",[{name:"categories",type:"string",optional:!0,description:"Category/tag filter",typeRef:null},{name:"options",type:"string",optional:!0,description:"Tracing options",typeRef:null},{name:"bufferUsageReportingInterval",type:"number",optional:!0,description:"If set, the agent will issue bufferUsage events at this interval, specified in milliseconds",typeRef:null},{name:"transferMode",type:"string",optional:!0,description:"Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to `ReportEvents`).",typeRef:"Tracing.StartRequestTransferMode"},{name:"streamFormat",type:"string",optional:!0,description:"Trace data format to use. This only applies when using `ReturnAsStream` transfer mode (defaults to `json`).",typeRef:"Tracing.StreamFormat"},{name:"streamCompression",type:"string",optional:!0,description:"Compression format to use. This only applies when using `ReturnAsStream` transfer mode (defaults to `none`)",typeRef:"Tracing.StreamCompression"},{name:"traceConfig",type:"object",optional:!0,description:"",typeRef:"Tracing.TraceConfig"},{name:"perfettoConfig",type:"string",optional:!0,description:"Base64-encoded serialized perfetto.protos.TraceConfig protobuf message When specified, the parameters `categories`, `options`, `traceConfig` are ignored.",typeRef:null},{name:"tracingBackend",type:"string",optional:!0,description:"Backend type (defaults to `auto`)",typeRef:"Tracing.TracingBackend"}],[],"Start trace events collection."),e.registerType("Tracing.TraceConfig",[{name:"recordMode",type:"string",optional:!0,description:"Controls how the trace buffer stores data.",typeRef:null},{name:"traceBufferSizeInKb",type:"number",optional:!0,description:"Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value of 200 MB would be used.",typeRef:null},{name:"enableSampling",type:"boolean",optional:!0,description:"Turns on JavaScript stack sampling.",typeRef:null},{name:"enableSystrace",type:"boolean",optional:!0,description:"Turns on system tracing.",typeRef:null},{name:"enableArgumentFilter",type:"boolean",optional:!0,description:"Turns on argument filter.",typeRef:null},{name:"includedCategories",type:"array",optional:!0,description:"Included category filters.",typeRef:"string"},{name:"excludedCategories",type:"array",optional:!0,description:"Excluded category filters.",typeRef:"string"},{name:"syntheticDelays",type:"array",optional:!0,description:"Configuration to synthesize the delays in tracing.",typeRef:"string"},{name:"memoryDumpConfig",type:"object",optional:!0,description:'Configuration for memory dump triggers. Used only when \\"memory-infra\\" category is enabled.',typeRef:"Tracing.MemoryDumpConfig"}]),e.registerEnum("Fetch.RequestStage",{Request:"Request",Response:"Response"}),e.registerEnum("Fetch.AuthChallengeSource",{Server:"Server",Proxy:"Proxy"}),e.registerEnum("Fetch.AuthChallengeResponseResponse",{Default:"Default",CancelAuth:"CancelAuth",ProvideCredentials:"ProvideCredentials"}),e.registerEvent("Fetch.requestPaused",["requestId","request","frameId","resourceType","responseErrorReason","responseStatusCode","responseStatusText","responseHeaders","networkId","redirectedRequestId"]),e.registerEvent("Fetch.authRequired",["requestId","request","frameId","resourceType","authChallenge"]),e.registerCommand("Fetch.disable",[],[],"Disables the fetch domain."),e.registerCommand("Fetch.enable",[{name:"patterns",type:"array",optional:!0,description:"If specified, only requests matching any of these patterns will produce fetchRequested event and will be paused until clients response. If not set, all requests will be affected.",typeRef:"Fetch.RequestPattern"},{name:"handleAuthRequests",type:"boolean",optional:!0,description:"If true, authRequired events will be issued and requests will be paused expecting a call to continueWithAuth.",typeRef:null}],[],"Enables issuing of requestPaused events. A request will be paused until client calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth."),e.registerCommand("Fetch.failRequest",[{name:"requestId",type:"string",optional:!1,description:"An id the client received in requestPaused event.",typeRef:"Fetch.RequestId"},{name:"errorReason",type:"string",optional:!1,description:"Causes the request to fail with the given reason.",typeRef:"Network.ErrorReason"}],[],"Causes the request to fail with specified reason."),e.registerCommand("Fetch.fulfillRequest",[{name:"requestId",type:"string",optional:!1,description:"An id the client received in requestPaused event.",typeRef:"Fetch.RequestId"},{name:"responseCode",type:"number",optional:!1,description:"An HTTP response code.",typeRef:null},{name:"responseHeaders",type:"array",optional:!0,description:"Response headers.",typeRef:"Fetch.HeaderEntry"},{name:"binaryResponseHeaders",type:"string",optional:!0,description:"Alternative way of specifying response headers as a \\0-separated series of name: value pairs. Prefer the above method unless you need to represent some non-UTF8 values that can't be transmitted over the protocol as text.",typeRef:null},{name:"body",type:"string",optional:!0,description:"A response body. If absent, original response body will be used if the request is intercepted at the response stage and empty body will be used if the request is intercepted at the request stage.",typeRef:null},{name:"responsePhrase",type:"string",optional:!0,description:"A textual representation of responseCode. If absent, a standard phrase matching responseCode is used.",typeRef:null}],[],"Provides response to the request."),e.registerCommand("Fetch.continueRequest",[{name:"requestId",type:"string",optional:!1,description:"An id the client received in requestPaused event.",typeRef:"Fetch.RequestId"},{name:"url",type:"string",optional:!0,description:"If set, the request url will be modified in a way that's not observable by page.",typeRef:null},{name:"method",type:"string",optional:!0,description:"If set, the request method is overridden.",typeRef:null},{name:"postData",type:"string",optional:!0,description:"If set, overrides the post data in the request.",typeRef:null},{name:"headers",type:"array",optional:!0,description:"If set, overrides the request headers. Note that the overrides do not extend to subsequent redirect hops, if a redirect happens. Another override may be applied to a different request produced by a redirect.",typeRef:"Fetch.HeaderEntry"},{name:"interceptResponse",type:"boolean",optional:!0,description:"If set, overrides response interception behavior for this request.",typeRef:null}],[],"Continues the request, optionally modifying some of its parameters."),e.registerCommand("Fetch.continueWithAuth",[{name:"requestId",type:"string",optional:!1,description:"An id the client received in authRequired event.",typeRef:"Fetch.RequestId"},{name:"authChallengeResponse",type:"object",optional:!1,description:"Response to with an authChallenge.",typeRef:"Fetch.AuthChallengeResponse"}],[],"Continues a request supplying authChallengeResponse following authRequired event."),e.registerCommand("Fetch.continueResponse",[{name:"requestId",type:"string",optional:!1,description:"An id the client received in requestPaused event.",typeRef:"Fetch.RequestId"},{name:"responseCode",type:"number",optional:!0,description:"An HTTP response code. If absent, original response code will be used.",typeRef:null},{name:"responsePhrase",type:"string",optional:!0,description:"A textual representation of responseCode. If absent, a standard phrase matching responseCode is used.",typeRef:null},{name:"responseHeaders",type:"array",optional:!0,description:"Response headers. If absent, original response headers will be used.",typeRef:"Fetch.HeaderEntry"},{name:"binaryResponseHeaders",type:"string",optional:!0,description:"Alternative way of specifying response headers as a \\0-separated series of name: value pairs. Prefer the above method unless you need to represent some non-UTF8 values that can't be transmitted over the protocol as text.",typeRef:null}],[],"Continues loading of the paused response, optionally modifying the response headers. If either responseCode or headers are modified, all of them must be present."),e.registerCommand("Fetch.getResponseBody",[{name:"requestId",type:"string",optional:!1,description:"Identifier for the intercepted request to get body for.",typeRef:"Fetch.RequestId"}],["body","base64Encoded"],"Causes the body of the response to be received from the server and returned as a single string. May only be issued for a request that is paused in the Response stage and is mutually exclusive with takeResponseBodyForInterceptionAsStream. Calling other methods that affect the request or disabling fetch domain before body is received results in an undefined behavior. Note that the response body is not available for redirects. Requests paused in the _redirect received_ state may be differentiated by `responseCode` and presence of `location` response header, see comments to `requestPaused` for details."),e.registerCommand("Fetch.takeResponseBodyAsStream",[{name:"requestId",type:"string",optional:!1,description:"",typeRef:"Fetch.RequestId"}],["stream"],"Returns a handle to the stream representing the response body. The request must be paused in the HeadersReceived stage. Note that after this command the request can't be continued as is -- client either needs to cancel it or to provide the response body. The stream only supports sequential read, IO.read will fail if the position is specified. This method is mutually exclusive with getResponseBody. Calling other methods that affect the request or disabling fetch domain before body is received results in an undefined behavior."),e.registerType("Fetch.RequestPattern",[{name:"urlPattern",type:"string",optional:!0,description:"Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is backslash. Omitting is equivalent to `\\\"*\\\"`.",typeRef:null},{name:"resourceType",type:"string",optional:!0,description:"If set, only requests for matching resource types will be intercepted.",typeRef:"Network.ResourceType"},{name:"requestStage",type:"string",optional:!0,description:"Stage at which to begin intercepting requests. Default is Request.",typeRef:"Fetch.RequestStage"}]),e.registerType("Fetch.HeaderEntry",[{name:"name",type:"string",optional:!1,description:"",typeRef:null},{name:"value",type:"string",optional:!1,description:"",typeRef:null}]),e.registerType("Fetch.AuthChallenge",[{name:"source",type:"string",optional:!0,description:"Source of the authentication challenge.",typeRef:null},{name:"origin",type:"string",optional:!1,description:"Origin of the challenger.",typeRef:null},{name:"scheme",type:"string",optional:!1,description:"The authentication scheme used, such as basic or digest",typeRef:null},{name:"realm",type:"string",optional:!1,description:"The realm of the challenge. May be empty.",typeRef:null}]),e.registerType("Fetch.AuthChallengeResponse",[{name:"response",type:"string",optional:!1,description:"The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box.",typeRef:null},{name:"username",type:"string",optional:!0,description:"The username to provide, possibly empty. Should only be set if response is ProvideCredentials.",typeRef:null},{name:"password",type:"string",optional:!0,description:"The password to provide, possibly empty. Should only be set if response is ProvideCredentials.",typeRef:null}]),e.registerEnum("WebAudio.ContextType",{Realtime:"realtime",Offline:"offline"}),e.registerEnum("WebAudio.ContextState",{Suspended:"suspended",Running:"running",Closed:"closed"}),e.registerEnum("WebAudio.ChannelCountMode",{ClampedMax:"clamped-max",Explicit:"explicit",Max:"max"}),e.registerEnum("WebAudio.ChannelInterpretation",{Discrete:"discrete",Speakers:"speakers"}),e.registerEnum("WebAudio.AutomationRate",{ARate:"a-rate",KRate:"k-rate"}),e.registerEvent("WebAudio.contextCreated",["context"]),e.registerEvent("WebAudio.contextWillBeDestroyed",["contextId"]),e.registerEvent("WebAudio.contextChanged",["context"]),e.registerEvent("WebAudio.audioListenerCreated",["listener"]),e.registerEvent("WebAudio.audioListenerWillBeDestroyed",["contextId","listenerId"]),e.registerEvent("WebAudio.audioNodeCreated",["node"]),e.registerEvent("WebAudio.audioNodeWillBeDestroyed",["contextId","nodeId"]),e.registerEvent("WebAudio.audioParamCreated",["param"]),e.registerEvent("WebAudio.audioParamWillBeDestroyed",["contextId","nodeId","paramId"]),e.registerEvent("WebAudio.nodesConnected",["contextId","sourceId","destinationId","sourceOutputIndex","destinationInputIndex"]),e.registerEvent("WebAudio.nodesDisconnected",["contextId","sourceId","destinationId","sourceOutputIndex","destinationInputIndex"]),e.registerEvent("WebAudio.nodeParamConnected",["contextId","sourceId","destinationId","sourceOutputIndex"]),e.registerEvent("WebAudio.nodeParamDisconnected",["contextId","sourceId","destinationId","sourceOutputIndex"]),e.registerCommand("WebAudio.enable",[],[],"Enables the WebAudio domain and starts sending context lifetime events."),e.registerCommand("WebAudio.disable",[],[],"Disables the WebAudio domain."),e.registerCommand("WebAudio.getRealtimeData",[{name:"contextId",type:"string",optional:!1,description:"",typeRef:"WebAudio.GraphObjectId"}],["realtimeData"],"Fetch the realtime data from the registered contexts."),e.registerType("WebAudio.ContextRealtimeData",[{name:"currentTime",type:"number",optional:!1,description:"The current context time in second in BaseAudioContext.",typeRef:null},{name:"renderCapacity",type:"number",optional:!1,description:"The time spent on rendering graph divided by render quantum duration, and multiplied by 100. 100 means the audio renderer reached the full capacity and glitch may occur.",typeRef:null},{name:"callbackIntervalMean",type:"number",optional:!1,description:"A running mean of callback interval.",typeRef:null},{name:"callbackIntervalVariance",type:"number",optional:!1,description:"A running variance of callback interval.",typeRef:null}]),e.registerType("WebAudio.BaseAudioContext",[{name:"contextId",type:"string",optional:!1,description:"",typeRef:"WebAudio.GraphObjectId"},{name:"contextType",type:"string",optional:!1,description:"",typeRef:"WebAudio.ContextType"},{name:"contextState",type:"string",optional:!1,description:"",typeRef:"WebAudio.ContextState"},{name:"realtimeData",type:"object",optional:!0,description:"",typeRef:"WebAudio.ContextRealtimeData"},{name:"callbackBufferSize",type:"number",optional:!1,description:"Platform-dependent callback buffer size.",typeRef:null},{name:"maxOutputChannelCount",type:"number",optional:!1,description:"Number of output channels supported by audio hardware in use.",typeRef:null},{name:"sampleRate",type:"number",optional:!1,description:"Context sample rate.",typeRef:null}]),e.registerType("WebAudio.AudioListener",[{name:"listenerId",type:"string",optional:!1,description:"",typeRef:"WebAudio.GraphObjectId"},{name:"contextId",type:"string",optional:!1,description:"",typeRef:"WebAudio.GraphObjectId"}]),e.registerType("WebAudio.AudioNode",[{name:"nodeId",type:"string",optional:!1,description:"",typeRef:"WebAudio.GraphObjectId"},{name:"contextId",type:"string",optional:!1,description:"",typeRef:"WebAudio.GraphObjectId"},{name:"nodeType",type:"string",optional:!1,description:"",typeRef:"WebAudio.NodeType"},{name:"numberOfInputs",type:"number",optional:!1,description:"",typeRef:null},{name:"numberOfOutputs",type:"number",optional:!1,description:"",typeRef:null},{name:"channelCount",type:"number",optional:!1,description:"",typeRef:null},{name:"channelCountMode",type:"string",optional:!1,description:"",typeRef:"WebAudio.ChannelCountMode"},{name:"channelInterpretation",type:"string",optional:!1,description:"",typeRef:"WebAudio.ChannelInterpretation"}]),e.registerType("WebAudio.AudioParam",[{name:"paramId",type:"string",optional:!1,description:"",typeRef:"WebAudio.GraphObjectId"},{name:"nodeId",type:"string",optional:!1,description:"",typeRef:"WebAudio.GraphObjectId"},{name:"contextId",type:"string",optional:!1,description:"",typeRef:"WebAudio.GraphObjectId"},{name:"paramType",type:"string",optional:!1,description:"",typeRef:"WebAudio.ParamType"},{name:"rate",type:"string",optional:!1,description:"",typeRef:"WebAudio.AutomationRate"},{name:"defaultValue",type:"number",optional:!1,description:"",typeRef:null},{name:"minValue",type:"number",optional:!1,description:"",typeRef:null},{name:"maxValue",type:"number",optional:!1,description:"",typeRef:null}]),e.registerEnum("WebAuthn.AuthenticatorProtocol",{U2f:"u2f",Ctap2:"ctap2"}),e.registerEnum("WebAuthn.Ctap2Version",{Ctap2_0:"ctap2_0",Ctap2_1:"ctap2_1"}),e.registerEnum("WebAuthn.AuthenticatorTransport",{Usb:"usb",Nfc:"nfc",Ble:"ble",Cable:"cable",Internal:"internal"}),e.registerEvent("WebAuthn.credentialAdded",["authenticatorId","credential"]),e.registerEvent("WebAuthn.credentialAsserted",["authenticatorId","credential"]),e.registerCommand("WebAuthn.enable",[{name:"enableUI",type:"boolean",optional:!0,description:"Whether to enable the WebAuthn user interface. Enabling the UI is recommended for debugging and demo purposes, as it is closer to the real experience. Disabling the UI is recommended for automated testing. Supported at the embedder's discretion if UI is available. Defaults to false.",typeRef:null}],[],"Enable the WebAuthn domain and start intercepting credential storage and retrieval with a virtual authenticator."),e.registerCommand("WebAuthn.disable",[],[],"Disable the WebAuthn domain."),e.registerCommand("WebAuthn.addVirtualAuthenticator",[{name:"options",type:"object",optional:!1,description:"",typeRef:"WebAuthn.VirtualAuthenticatorOptions"}],["authenticatorId"],"Creates and adds a virtual authenticator."),e.registerCommand("WebAuthn.setResponseOverrideBits",[{name:"authenticatorId",type:"string",optional:!1,description:"",typeRef:"WebAuthn.AuthenticatorId"},{name:"isBogusSignature",type:"boolean",optional:!0,description:"If isBogusSignature is set, overrides the signature in the authenticator response to be zero. Defaults to false.",typeRef:null},{name:"isBadUV",type:"boolean",optional:!0,description:"If isBadUV is set, overrides the UV bit in the flags in the authenticator response to be zero. Defaults to false.",typeRef:null},{name:"isBadUP",type:"boolean",optional:!0,description:"If isBadUP is set, overrides the UP bit in the flags in the authenticator response to be zero. Defaults to false.",typeRef:null}],[],"Resets parameters isBogusSignature, isBadUV, isBadUP to false if they are not present."),e.registerCommand("WebAuthn.removeVirtualAuthenticator",[{name:"authenticatorId",type:"string",optional:!1,description:"",typeRef:"WebAuthn.AuthenticatorId"}],[],"Removes the given authenticator."),e.registerCommand("WebAuthn.addCredential",[{name:"authenticatorId",type:"string",optional:!1,description:"",typeRef:"WebAuthn.AuthenticatorId"},{name:"credential",type:"object",optional:!1,description:"",typeRef:"WebAuthn.Credential"}],[],"Adds the credential to the specified authenticator."),e.registerCommand("WebAuthn.getCredential",[{name:"authenticatorId",type:"string",optional:!1,description:"",typeRef:"WebAuthn.AuthenticatorId"},{name:"credentialId",type:"string",optional:!1,description:"",typeRef:null}],["credential"],"Returns a single credential stored in the given virtual authenticator that matches the credential ID."),e.registerCommand("WebAuthn.getCredentials",[{name:"authenticatorId",type:"string",optional:!1,description:"",typeRef:"WebAuthn.AuthenticatorId"}],["credentials"],"Returns all the credentials stored in the given virtual authenticator."),e.registerCommand("WebAuthn.removeCredential",[{name:"authenticatorId",type:"string",optional:!1,description:"",typeRef:"WebAuthn.AuthenticatorId"},{name:"credentialId",type:"string",optional:!1,description:"",typeRef:null}],[],"Removes a credential from the authenticator."),e.registerCommand("WebAuthn.clearCredentials",[{name:"authenticatorId",type:"string",optional:!1,description:"",typeRef:"WebAuthn.AuthenticatorId"}],[],"Clears all the credentials from the specified device."),e.registerCommand("WebAuthn.setUserVerified",[{name:"authenticatorId",type:"string",optional:!1,description:"",typeRef:"WebAuthn.AuthenticatorId"},{name:"isUserVerified",type:"boolean",optional:!1,description:"",typeRef:null}],[],"Sets whether User Verification succeeds or fails for an authenticator. The default is true."),e.registerCommand("WebAuthn.setAutomaticPresenceSimulation",[{name:"authenticatorId",type:"string",optional:!1,description:"",typeRef:"WebAuthn.AuthenticatorId"},{name:"enabled",type:"boolean",optional:!1,description:"",typeRef:null}],[],"Sets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator. The default is true."),e.registerCommand("WebAuthn.setCredentialProperties",[{name:"authenticatorId",type:"string",optional:!1,description:"",typeRef:"WebAuthn.AuthenticatorId"},{name:"credentialId",type:"string",optional:!1,description:"",typeRef:null},{name:"backupEligibility",type:"boolean",optional:!0,description:"",typeRef:null},{name:"backupState",type:"boolean",optional:!0,description:"",typeRef:null}],[],"Allows setting credential properties. https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties"),e.registerType("WebAuthn.VirtualAuthenticatorOptions",[{name:"protocol",type:"string",optional:!1,description:"",typeRef:"WebAuthn.AuthenticatorProtocol"},{name:"ctap2Version",type:"string",optional:!0,description:"Defaults to ctap2_0. Ignored if |protocol| == u2f.",typeRef:"WebAuthn.Ctap2Version"},{name:"transport",type:"string",optional:!1,description:"",typeRef:"WebAuthn.AuthenticatorTransport"},{name:"hasResidentKey",type:"boolean",optional:!0,description:"Defaults to false.",typeRef:null},{name:"hasUserVerification",type:"boolean",optional:!0,description:"Defaults to false.",typeRef:null},{name:"hasLargeBlob",type:"boolean",optional:!0,description:"If set to true, the authenticator will support the largeBlob extension. https://w3c.github.io/webauthn#largeBlob Defaults to false.",typeRef:null},{name:"hasCredBlob",type:"boolean",optional:!0,description:"If set to true, the authenticator will support the credBlob extension. https://fidoalliance.org/specs/fido-v2.1-rd-20201208/fido-client-to-authenticator-protocol-v2.1-rd-20201208.html#sctn-credBlob-extension Defaults to false.",typeRef:null},{name:"hasMinPinLength",type:"boolean",optional:!0,description:"If set to true, the authenticator will support the minPinLength extension. https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-minpinlength-extension Defaults to false.",typeRef:null},{name:"hasPrf",type:"boolean",optional:!0,description:"If set to true, the authenticator will support the prf extension. https://w3c.github.io/webauthn/#prf-extension Defaults to false.",typeRef:null},{name:"automaticPresenceSimulation",type:"boolean",optional:!0,description:"If set to true, tests of user presence will succeed immediately. Otherwise, they will not be resolved. Defaults to true.",typeRef:null},{name:"isUserVerified",type:"boolean",optional:!0,description:"Sets whether User Verification succeeds or fails for an authenticator. Defaults to false.",typeRef:null},{name:"defaultBackupEligibility",type:"boolean",optional:!0,description:"Credentials created by this authenticator will have the backup eligibility (BE) flag set to this value. Defaults to false. https://w3c.github.io/webauthn/#sctn-credential-backup",typeRef:null},{name:"defaultBackupState",type:"boolean",optional:!0,description:"Credentials created by this authenticator will have the backup state (BS) flag set to this value. Defaults to false. https://w3c.github.io/webauthn/#sctn-credential-backup",typeRef:null}]),e.registerType("WebAuthn.Credential",[{name:"credentialId",type:"string",optional:!1,description:"",typeRef:null},{name:"isResidentCredential",type:"boolean",optional:!1,description:"",typeRef:null},{name:"rpId",type:"string",optional:!0,description:"Relying Party ID the credential is scoped to. Must be set when adding a credential.",typeRef:null},{name:"privateKey",type:"string",optional:!1,description:"The ECDSA P-256 private key in PKCS#8 format.",typeRef:null},{name:"userHandle",type:"string",optional:!0,description:"An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user.",typeRef:null},{name:"signCount",type:"number",optional:!1,description:"Signature counter. This is incremented by one for each successful assertion. See https://w3c.github.io/webauthn/#signature-counter",typeRef:null},{name:"largeBlob",type:"string",optional:!0,description:"The large blob associated with the credential. See https://w3c.github.io/webauthn/#sctn-large-blob-extension",typeRef:null},{name:"backupEligibility",type:"boolean",optional:!0,description:"Assertions returned by this credential will have the backup eligibility (BE) flag set to this value. Defaults to the authenticator's defaultBackupEligibility value.",typeRef:null},{name:"backupState",type:"boolean",optional:!0,description:"Assertions returned by this credential will have the backup state (BS) flag set to this value. Defaults to the authenticator's defaultBackupState value.",typeRef:null}]),e.registerEnum("Media.PlayerMessageLevel",{Error:"error",Warning:"warning",Info:"info",Debug:"debug"}),e.registerEvent("Media.playerPropertiesChanged",["playerId","properties"]),e.registerEvent("Media.playerEventsAdded",["playerId","events"]),e.registerEvent("Media.playerMessagesLogged",["playerId","messages"]),e.registerEvent("Media.playerErrorsRaised",["playerId","errors"]),e.registerEvent("Media.playersCreated",["players"]),e.registerCommand("Media.enable",[],[],"Enables the Media domain"),e.registerCommand("Media.disable",[],[],"Disables the Media domain."),e.registerType("Media.PlayerMessage",[{name:"level",type:"string",optional:!1,description:"Keep in sync with MediaLogMessageLevel We are currently keeping the message level 'error' separate from the PlayerError type because right now they represent different things, this one being a DVLOG(ERROR) style log message that gets printed based on what log level is selected in the UI, and the other is a representation of a media::PipelineStatus object. Soon however we're going to be moving away from using PipelineStatus for errors and introducing a new error type which should hopefully let us integrate the error log level into the PlayerError type.",typeRef:null},{name:"message",type:"string",optional:!1,description:"",typeRef:null}]),e.registerType("Media.PlayerProperty",[{name:"name",type:"string",optional:!1,description:"",typeRef:null},{name:"value",type:"string",optional:!1,description:"",typeRef:null}]),e.registerType("Media.PlayerEvent",[{name:"timestamp",type:"number",optional:!1,description:"",typeRef:"Media.Timestamp"},{name:"value",type:"string",optional:!1,description:"",typeRef:null}]),e.registerType("Media.PlayerErrorSourceLocation",[{name:"file",type:"string",optional:!1,description:"",typeRef:null},{name:"line",type:"number",optional:!1,description:"",typeRef:null}]),e.registerType("Media.PlayerError",[{name:"errorType",type:"string",optional:!1,description:"",typeRef:null},{name:"code",type:"number",optional:!1,description:"Code is the numeric enum entry for a specific set of error codes, such as PipelineStatusCodes in media/base/pipeline_status.h",typeRef:null},{name:"stack",type:"array",optional:!1,description:"A trace of where this error was caused / where it passed through.",typeRef:"Media.PlayerErrorSourceLocation"},{name:"cause",type:"array",optional:!1,description:"Errors potentially have a root cause error, ie, a DecoderError might be caused by an WindowsError",typeRef:"Media.PlayerError"},{name:"data",type:"object",optional:!1,description:"Extra data attached to an error, such as an HRESULT, Video Codec, etc.",typeRef:null}]),e.registerEvent("DeviceAccess.deviceRequestPrompted",["id","devices"]),e.registerCommand("DeviceAccess.enable",[],[],"Enable events in this domain."),e.registerCommand("DeviceAccess.disable",[],[],"Disable events in this domain."),e.registerCommand("DeviceAccess.selectPrompt",[{name:"id",type:"string",optional:!1,description:"",typeRef:"DeviceAccess.RequestId"},{name:"deviceId",type:"string",optional:!1,description:"",typeRef:"DeviceAccess.DeviceId"}],[],"Select a device in response to a DeviceAccess.deviceRequestPrompted event."),e.registerCommand("DeviceAccess.cancelPrompt",[{name:"id",type:"string",optional:!1,description:"",typeRef:"DeviceAccess.RequestId"}],[],"Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event."),e.registerType("DeviceAccess.PromptDevice",[{name:"id",type:"string",optional:!1,description:"",typeRef:"DeviceAccess.DeviceId"},{name:"name",type:"string",optional:!1,description:"Display name as it appears in a device request user prompt.",typeRef:null}]),e.registerEnum("Preload.RuleSetErrorType",{SourceIsNotJsonObject:"SourceIsNotJsonObject",InvalidRulesSkipped:"InvalidRulesSkipped"}),e.registerEnum("Preload.SpeculationAction",{Prefetch:"Prefetch",Prerender:"Prerender"}),e.registerEnum("Preload.SpeculationTargetHint",{Blank:"Blank",Self:"Self"}),e.registerEnum("Preload.PrerenderFinalStatus",{Activated:"Activated",Destroyed:"Destroyed",LowEndDevice:"LowEndDevice",InvalidSchemeRedirect:"InvalidSchemeRedirect",InvalidSchemeNavigation:"InvalidSchemeNavigation",NavigationRequestBlockedByCsp:"NavigationRequestBlockedByCsp",MainFrameNavigation:"MainFrameNavigation",MojoBinderPolicy:"MojoBinderPolicy",RendererProcessCrashed:"RendererProcessCrashed",RendererProcessKilled:"RendererProcessKilled",Download:"Download",TriggerDestroyed:"TriggerDestroyed",NavigationNotCommitted:"NavigationNotCommitted",NavigationBadHttpStatus:"NavigationBadHttpStatus",ClientCertRequested:"ClientCertRequested",NavigationRequestNetworkError:"NavigationRequestNetworkError",CancelAllHostsForTesting:"CancelAllHostsForTesting",DidFailLoad:"DidFailLoad",Stop:"Stop",SslCertificateError:"SslCertificateError",LoginAuthRequested:"LoginAuthRequested",UaChangeRequiresReload:"UaChangeRequiresReload",BlockedByClient:"BlockedByClient",AudioOutputDeviceRequested:"AudioOutputDeviceRequested",MixedContent:"MixedContent",TriggerBackgrounded:"TriggerBackgrounded",MemoryLimitExceeded:"MemoryLimitExceeded",DataSaverEnabled:"DataSaverEnabled",TriggerUrlHasEffectiveUrl:"TriggerUrlHasEffectiveUrl",ActivatedBeforeStarted:"ActivatedBeforeStarted",InactivePageRestriction:"InactivePageRestriction",StartFailed:"StartFailed",TimeoutBackgrounded:"TimeoutBackgrounded",CrossSiteRedirectInInitialNavigation:"CrossSiteRedirectInInitialNavigation",CrossSiteNavigationInInitialNavigation:"CrossSiteNavigationInInitialNavigation",SameSiteCrossOriginRedirectNotOptInInInitialNavigation:"SameSiteCrossOriginRedirectNotOptInInInitialNavigation",SameSiteCrossOriginNavigationNotOptInInInitialNavigation:"SameSiteCrossOriginNavigationNotOptInInInitialNavigation",ActivationNavigationParameterMismatch:"ActivationNavigationParameterMismatch",ActivatedInBackground:"ActivatedInBackground",EmbedderHostDisallowed:"EmbedderHostDisallowed",ActivationNavigationDestroyedBeforeSuccess:"ActivationNavigationDestroyedBeforeSuccess",TabClosedByUserGesture:"TabClosedByUserGesture",TabClosedWithoutUserGesture:"TabClosedWithoutUserGesture",PrimaryMainFrameRendererProcessCrashed:"PrimaryMainFrameRendererProcessCrashed",PrimaryMainFrameRendererProcessKilled:"PrimaryMainFrameRendererProcessKilled",ActivationFramePolicyNotCompatible:"ActivationFramePolicyNotCompatible",PreloadingDisabled:"PreloadingDisabled",BatterySaverEnabled:"BatterySaverEnabled",ActivatedDuringMainFrameNavigation:"ActivatedDuringMainFrameNavigation",PreloadingUnsupportedByWebContents:"PreloadingUnsupportedByWebContents",CrossSiteRedirectInMainFrameNavigation:"CrossSiteRedirectInMainFrameNavigation",CrossSiteNavigationInMainFrameNavigation:"CrossSiteNavigationInMainFrameNavigation",SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation:"SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation",SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation:"SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation",MemoryPressureOnTrigger:"MemoryPressureOnTrigger",MemoryPressureAfterTriggered:"MemoryPressureAfterTriggered",PrerenderingDisabledByDevTools:"PrerenderingDisabledByDevTools",SpeculationRuleRemoved:"SpeculationRuleRemoved",ActivatedWithAuxiliaryBrowsingContexts:"ActivatedWithAuxiliaryBrowsingContexts",MaxNumOfRunningEagerPrerendersExceeded:"MaxNumOfRunningEagerPrerendersExceeded",MaxNumOfRunningNonEagerPrerendersExceeded:"MaxNumOfRunningNonEagerPrerendersExceeded",MaxNumOfRunningEmbedderPrerendersExceeded:"MaxNumOfRunningEmbedderPrerendersExceeded",PrerenderingUrlHasEffectiveUrl:"PrerenderingUrlHasEffectiveUrl",RedirectedPrerenderingUrlHasEffectiveUrl:"RedirectedPrerenderingUrlHasEffectiveUrl",ActivationUrlHasEffectiveUrl:"ActivationUrlHasEffectiveUrl"}),e.registerEnum("Preload.PreloadingStatus",{Pending:"Pending",Running:"Running",Ready:"Ready",Success:"Success",Failure:"Failure",NotSupported:"NotSupported"}),e.registerEnum("Preload.PrefetchStatus",{PrefetchAllowed:"PrefetchAllowed",PrefetchFailedIneligibleRedirect:"PrefetchFailedIneligibleRedirect",PrefetchFailedInvalidRedirect:"PrefetchFailedInvalidRedirect",PrefetchFailedMIMENotSupported:"PrefetchFailedMIMENotSupported",PrefetchFailedNetError:"PrefetchFailedNetError",PrefetchFailedNon2XX:"PrefetchFailedNon2XX",PrefetchFailedPerPageLimitExceeded:"PrefetchFailedPerPageLimitExceeded",PrefetchEvictedAfterCandidateRemoved:"PrefetchEvictedAfterCandidateRemoved",PrefetchEvictedForNewerPrefetch:"PrefetchEvictedForNewerPrefetch",PrefetchHeldback:"PrefetchHeldback",PrefetchIneligibleRetryAfter:"PrefetchIneligibleRetryAfter",PrefetchIsPrivacyDecoy:"PrefetchIsPrivacyDecoy",PrefetchIsStale:"PrefetchIsStale",PrefetchNotEligibleBrowserContextOffTheRecord:"PrefetchNotEligibleBrowserContextOffTheRecord",PrefetchNotEligibleDataSaverEnabled:"PrefetchNotEligibleDataSaverEnabled",PrefetchNotEligibleExistingProxy:"PrefetchNotEligibleExistingProxy",PrefetchNotEligibleHostIsNonUnique:"PrefetchNotEligibleHostIsNonUnique",PrefetchNotEligibleNonDefaultStoragePartition:"PrefetchNotEligibleNonDefaultStoragePartition",PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy:"PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy",PrefetchNotEligibleSchemeIsNotHttps:"PrefetchNotEligibleSchemeIsNotHttps",PrefetchNotEligibleUserHasCookies:"PrefetchNotEligibleUserHasCookies",PrefetchNotEligibleUserHasServiceWorker:"PrefetchNotEligibleUserHasServiceWorker",PrefetchNotEligibleBatterySaverEnabled:"PrefetchNotEligibleBatterySaverEnabled",PrefetchNotEligiblePreloadingDisabled:"PrefetchNotEligiblePreloadingDisabled",PrefetchNotFinishedInTime:"PrefetchNotFinishedInTime",PrefetchNotStarted:"PrefetchNotStarted",PrefetchNotUsedCookiesChanged:"PrefetchNotUsedCookiesChanged",PrefetchProxyNotAvailable:"PrefetchProxyNotAvailable",PrefetchResponseUsed:"PrefetchResponseUsed",PrefetchSuccessfulButNotUsed:"PrefetchSuccessfulButNotUsed",PrefetchNotUsedProbeFailed:"PrefetchNotUsedProbeFailed"}),e.registerEvent("Preload.ruleSetUpdated",["ruleSet"]),e.registerEvent("Preload.ruleSetRemoved",["id"]),e.registerEvent("Preload.preloadEnabledStateUpdated",["disabledByPreference","disabledByDataSaver","disabledByBatterySaver","disabledByHoldbackPrefetchSpeculationRules","disabledByHoldbackPrerenderSpeculationRules"]),e.registerEvent("Preload.prefetchStatusUpdated",["key","initiatingFrameId","prefetchUrl","status","prefetchStatus","requestId"]),e.registerEvent("Preload.prerenderStatusUpdated",["key","status","prerenderStatus","disallowedMojoInterface","mismatchedHeaders"]),e.registerEvent("Preload.preloadingAttemptSourcesUpdated",["loaderId","preloadingAttemptSources"]),e.registerCommand("Preload.enable",[],[],""),e.registerCommand("Preload.disable",[],[],""),e.registerType("Preload.RuleSet",[{name:"id",type:"string",optional:!1,description:"",typeRef:"Preload.RuleSetId"},{name:"loaderId",type:"string",optional:!1,description:"Identifies a document which the rule set is associated with.",typeRef:"Network.LoaderId"},{name:"sourceText",type:"string",optional:!1,description:"Source text of JSON representing the rule set. If it comes from `