puppeteer/assets/js/6be1ed39.351b2180.js
release-please[bot] cc95c085a2 deploy: 1014abc087
2023-11-29 13:34:30 +00:00

2 lines
3.0 KiB
JavaScript

/*! For license information please see 6be1ed39.351b2180.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[51052],{82552:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>l,frontMatter:()=>i,metadata:()=>a,toc:()=>p});var r=n(85893),s=n(11151);const i={sidebar_label:"HTTPRequest.isNavigationRequest"},o="HTTPRequest.isNavigationRequest() method",a={id:"api/puppeteer.httprequest.isnavigationrequest",title:"HTTPRequest.isNavigationRequest() method",description:"True if the request is the driver of the current frame's navigation.",source:"@site/../docs/api/puppeteer.httprequest.isnavigationrequest.md",sourceDirName:"api",slug:"/api/puppeteer.httprequest.isnavigationrequest",permalink:"/next/api/puppeteer.httprequest.isnavigationrequest",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"HTTPRequest.isNavigationRequest"},sidebar:"api",previous:{title:"HTTPRequest.isInterceptResolutionHandled",permalink:"/next/api/puppeteer.httprequest.isinterceptresolutionhandled"},next:{title:"HTTPRequest.method",permalink:"/next/api/puppeteer.httprequest.method"}},u={},p=[{value:"Signature:",id:"signature",level:4}];function c(e){const t={code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,s.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"httprequestisnavigationrequest-method",children:"HTTPRequest.isNavigationRequest() method"}),"\n",(0,r.jsx)(t.p,{children:"True if the request is the driver of the current frame's navigation."}),"\n",(0,r.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-typescript",children:"class HTTPRequest {\n abstract isNavigationRequest(): boolean;\n}\n"})}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.strong,{children:"Returns:"})}),"\n",(0,r.jsx)(t.p,{children:"boolean"})]})}function l(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},75251:(e,t,n)=>{var r=n(67294),s=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function p(e,t,n){var r,i={},p=null,c=null;for(r in void 0!==n&&(p=""+n),void 0!==t.key&&(p=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,r)&&!u.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:s,type:e,key:p,ref:c,props:i,_owner:a.current}}t.Fragment=i,t.jsx=p,t.jsxs=p},85893:(e,t,n)=>{e.exports=n(75251)},11151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>o});var r=n(67294);const s={},i=r.createContext(s);function o(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]);