puppeteer/assets/js/aedb398b.4113d802.js

2 lines
2.7 KiB
JavaScript
Raw Normal View History

/*! For license information please see aedb398b.4113d802.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[59549],{83289:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>s,default:()=>u,frontMatter:()=>p,metadata:()=>o,toc:()=>c});var a=t(85893),n=t(11151);const p={sidebar_label:"Frame.page"},s="Frame.page() method",o={id:"api/puppeteer.frame.page",title:"Frame.page() method",description:"The page associated with the frame.",source:"@site/versioned_docs/version-21.6.1/api/puppeteer.frame.page.md",sourceDirName:"api",slug:"/api/puppeteer.frame.page",permalink:"/api/puppeteer.frame.page",draft:!1,unlisted:!1,tags:[],version:"21.6.1",frontMatter:{sidebar_label:"Frame.page"},sidebar:"api",previous:{title:"Frame.name",permalink:"/api/puppeteer.frame.name"},next:{title:"Frame.parentFrame",permalink:"/api/puppeteer.frame.parentframe"}},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:"framepage-method",children:"Frame.page() method"}),"\n",(0,a.jsx)(r.p,{children:"The page associated with the frame."}),"\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 Frame {\n abstract page(): Page;\n}\n"})}),"\n",(0,a.jsx)(r.p,{children:(0,a.jsx)(r.strong,{children:"Returns:"})}),"\n",(0,a.jsx)(r.p,{children:(0,a.jsx)(r.a,{href:"/api/puppeteer.page",children:"Page"})})]})}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"),p=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,o=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,p={},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)s.call(r,a)&&!i.hasOwnProperty(a)&&(p[a]=r[a]);if(e&&e.defaultProps)for(a in r=e.defaultProps)void 0===p[a]&&(p[a]=r[a]);return{$$typeof:n,type:e,key:c,ref:l,props:p,_owner:o.current}}r.Fragment=p,r.jsx=c,r.jsxs=c},85893:(e,r,t)=>{e.exports=t(75251)},11151:(e,r,t)=>{t.d(r,{Z:()=>o,a:()=>s});var a=t(67294);const n={},p=a.createContext(n);function s(e){const r=a.useContext(p);return a.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:s(e.components),a.createElement(p.Provider,{value:r},e.children)}}}]);