puppeteer/assets/js/c014ad3d.e8b781a9.js

2 lines
3.0 KiB
JavaScript
Raw Normal View History

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