puppeteer/assets/js/5b777794.32429434.js
release-please[bot] c7ae9c5b6a deploy: 50bcff2ec2
2022-08-09 11:30:38 +00:00

1 line
3.9 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[94427],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>d});var r=n(67294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},p=Object.keys(e);for(r=0;r<p.length;r++)n=p[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(r=0;r<p.length;r++)n=p[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var l=r.createContext({}),s=function(e){var t=r.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},c=function(e){var t=s(e.components);return r.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,p=e.originalType,l=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),f=s(n),d=i,m=f["".concat(l,".").concat(d)]||f[d]||u[d]||p;return n?r.createElement(m,a(a({ref:t},c),{},{components:n})):r.createElement(m,a({ref:t},c))}));function d(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var p=n.length,a=new Array(p);a[0]=f;var o={};for(var l in t)hasOwnProperty.call(t,l)&&(o[l]=t[l]);o.originalType=e,o.mdxType="string"==typeof e?e:i,a[1]=o;for(var s=2;s<p;s++)a[s]=n[s];return r.createElement.apply(null,a)}return r.createElement.apply(null,n)}f.displayName="MDXCreateElement"},89755:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>u,frontMatter:()=>p,metadata:()=>o,toc:()=>s});var r=n(87462),i=(n(67294),n(3905));const p={sidebar_label:"HTTPRequest.finalizeInterceptions"},a="HTTPRequest.finalizeInterceptions() method",o={unversionedId:"api/puppeteer.httprequest.finalizeinterceptions",id:"api/puppeteer.httprequest.finalizeinterceptions",title:"HTTPRequest.finalizeInterceptions() method",description:"Awaits pending interception handlers and then decides how to fulfill the request interception.",source:"@site/../docs/api/puppeteer.httprequest.finalizeinterceptions.md",sourceDirName:"api",slug:"/api/puppeteer.httprequest.finalizeinterceptions",permalink:"/next/api/puppeteer.httprequest.finalizeinterceptions",draft:!1,tags:[],version:"current",frontMatter:{sidebar_label:"HTTPRequest.finalizeInterceptions"},sidebar:"sidebar",previous:{title:"HTTPRequest.failure",permalink:"/next/api/puppeteer.httprequest.failure"},next:{title:"HTTPRequest.frame",permalink:"/next/api/puppeteer.httprequest.frame"}},l={},s=[],c={toc:s};function u(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"httprequestfinalizeinterceptions-method"},"HTTPRequest.finalizeInterceptions() method"),(0,i.kt)("p",null,"Awaits pending interception handlers and then decides how to fulfill the request interception."),(0,i.kt)("p",null,(0,i.kt)("strong",{parentName:"p"},"Signature:")),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-typescript"},"class HTTPRequest {\n finalizeInterceptions(): Promise<void>;\n}\n")),(0,i.kt)("p",null,(0,i.kt)("strong",{parentName:"p"},"Returns:")),(0,i.kt)("p",null,"Promise","<","void",">"))}u.isMDXComponent=!0}}]);