puppeteer/assets/js/6037914e.fa7dd15c.js
release-please[bot] d5d4bf3f0e deploy: 75f170b26d
2024-04-11 16:53:35 +00:00

2 lines
2.7 KiB
JavaScript

/*! For license information please see 6037914e.fa7dd15c.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[32196],{39861:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>o,default:()=>u,frontMatter:()=>s,metadata:()=>p,toc:()=>c});var a=t(85893),n=t(11151);const s={sidebar_label:"Page.frames"},o="Page.frames() method",p={id:"api/puppeteer.page.frames",title:"Page.frames() method",description:"An array of all frames attached to the page.",source:"@site/versioned_docs/version-22.6.4/api/puppeteer.page.frames.md",sourceDirName:"api",slug:"/api/puppeteer.page.frames",permalink:"/api/puppeteer.page.frames",draft:!1,unlisted:!1,tags:[],version:"22.6.4",frontMatter:{sidebar_label:"Page.frames"},sidebar:"api",previous:{title:"Page.focus",permalink:"/api/puppeteer.page.focus"},next:{title:"Page.getDefaultTimeout",permalink:"/api/puppeteer.page.getdefaulttimeout"}},i={},c=[{value:"Signature:",id:"signature",level:4}];function l(e){const r={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.h1,{id:"pageframes-method",children:"Page.frames() method"}),"\n",(0,a.jsx)(r.p,{children:"An array of all frames attached to the page."}),"\n",(0,a.jsx)(r.h4,{id:"signature",children:"Signature:"}),"\n",(0,a.jsx)(r.pre,{children:(0,a.jsx)(r.code,{className:"language-typescript",children:"class Page {\n abstract frames(): Frame[];\n}\n"})}),"\n",(0,a.jsx)(r.p,{children:(0,a.jsx)(r.strong,{children:"Returns:"})}),"\n",(0,a.jsxs)(r.p,{children:[(0,a.jsx)(r.a,{href:"/api/puppeteer.frame",children:"Frame"}),"[]"]})]})}function u(e={}){const{wrapper:r}={...(0,n.a)(),...e.components};return r?(0,a.jsx)(r,{...e,children:(0,a.jsx)(l,{...e})}):l(e)}},75251:(e,r,t)=>{var a=t(67294),n=Symbol.for("react.element"),s=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,p=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function c(e,r,t){var a,s={},c=null,l=null;for(a in void 0!==t&&(c=""+t),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(l=r.ref),r)o.call(r,a)&&!i.hasOwnProperty(a)&&(s[a]=r[a]);if(e&&e.defaultProps)for(a in r=e.defaultProps)void 0===s[a]&&(s[a]=r[a]);return{$$typeof:n,type:e,key:c,ref:l,props:s,_owner:p.current}}r.Fragment=s,r.jsx=c,r.jsxs=c},85893:(e,r,t)=>{e.exports=t(75251)},11151:(e,r,t)=>{t.d(r,{Z:()=>p,a:()=>o});var a=t(67294);const n={},s=a.createContext(n);function o(e){const r=a.useContext(s);return a.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function p(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),a.createElement(s.Provider,{value:r},e.children)}}}]);