puppeteer/assets/js/e456231a.0b077f73.js
release-please[bot] cbca7ae4e6 deploy: 9fbb9f9653
2024-02-05 10:26:42 +00:00

2 lines
3.0 KiB
JavaScript

/*! For license information please see e456231a.0b077f73.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[59451],{48151:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>p,contentTitle:()=>i,default:()=>l,frontMatter:()=>a,metadata:()=>o,toc:()=>c});var t=s(85893),n=s(11151);const a={sidebar_label:"Page.isServiceWorkerBypassed"},i="Page.isServiceWorkerBypassed() method",o={id:"api/puppeteer.page.isserviceworkerbypassed",title:"Page.isServiceWorkerBypassed() method",description:"true if the service worker are being bypassed, false otherwise.",source:"@site/versioned_docs/version-22.0.0/api/puppeteer.page.isserviceworkerbypassed.md",sourceDirName:"api",slug:"/api/puppeteer.page.isserviceworkerbypassed",permalink:"/api/puppeteer.page.isserviceworkerbypassed",draft:!1,unlisted:!1,tags:[],version:"22.0.0",frontMatter:{sidebar_label:"Page.isServiceWorkerBypassed"},sidebar:"api",previous:{title:"Page.isJavaScriptEnabled",permalink:"/api/puppeteer.page.isjavascriptenabled"},next:{title:"Page.locator",permalink:"/api/puppeteer.page.locator"}},p={},c=[{value:"Signature:",id:"signature",level:4}];function d(e){const r={code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.h1,{id:"pageisserviceworkerbypassed-method",children:"Page.isServiceWorkerBypassed() method"}),"\n",(0,t.jsxs)(r.p,{children:[(0,t.jsx)(r.code,{children:"true"})," if the service worker are being bypassed, ",(0,t.jsx)(r.code,{children:"false"})," otherwise."]}),"\n",(0,t.jsx)(r.h4,{id:"signature",children:"Signature:"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-typescript",children:"class Page {\n abstract isServiceWorkerBypassed(): boolean;\n}\n"})}),"\n",(0,t.jsx)(r.p,{children:(0,t.jsx)(r.strong,{children:"Returns:"})}),"\n",(0,t.jsx)(r.p,{children:"boolean"})]})}function l(e={}){const{wrapper:r}={...(0,n.a)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},75251:(e,r,s)=>{var t=s(67294),n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function c(e,r,s){var t,a={},c=null,d=null;for(t in void 0!==s&&(c=""+s),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(d=r.ref),r)i.call(r,t)&&!p.hasOwnProperty(t)&&(a[t]=r[t]);if(e&&e.defaultProps)for(t in r=e.defaultProps)void 0===a[t]&&(a[t]=r[t]);return{$$typeof:n,type:e,key:c,ref:d,props:a,_owner:o.current}}r.Fragment=a,r.jsx=c,r.jsxs=c},85893:(e,r,s)=>{e.exports=s(75251)},11151:(e,r,s)=>{s.d(r,{Z:()=>o,a:()=>i});var t=s(67294);const n={},a=t.createContext(n);function i(e){const r=t.useContext(a);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function o(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),t.createElement(a.Provider,{value:r},e.children)}}}]);