puppeteer/assets/js/2575e8f0.1c298626.js

2 lines
2.9 KiB
JavaScript
Raw Normal View History

/*! For license information please see 2575e8f0.1c298626.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[663],{27558:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>s,toc:()=>i});var r=t(85893),a=t(11151);const o={sidebar_label:"ElementHandle.contentFrame_1"},l="ElementHandle.contentFrame() method",s={id:"api/puppeteer.elementhandle.contentframe_1",title:"ElementHandle.contentFrame() method",description:"Signature:",source:"@site/../docs/api/puppeteer.elementhandle.contentframe_1.md",sourceDirName:"api",slug:"/api/puppeteer.elementhandle.contentframe_1",permalink:"/next/api/puppeteer.elementhandle.contentframe_1",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"ElementHandle.contentFrame_1"},sidebar:"api",previous:{title:"ElementHandle.contentFrame",permalink:"/next/api/puppeteer.elementhandle.contentframe"},next:{title:"ElementHandle.drag",permalink:"/next/api/puppeteer.elementhandle.drag"}},c={},i=[{value:"Signature:",id:"signature",level:4}];function p(e){const n={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,a.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"elementhandlecontentframe-method",children:"ElementHandle.contentFrame() method"}),"\n",(0,r.jsx)(n.h4,{id:"signature",children:"Signature:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:"class ElementHandle {\n abstract contentFrame(): Promise<Frame | null>;\n}\n"})}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Returns:"})}),"\n",(0,r.jsxs)(n.p,{children:["Promise<",(0,r.jsx)(n.a,{href:"/next/api/puppeteer.frame",children:"Frame"})," | null>"]})]})}function d(e={}){const{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(p,{...e})}):p(e)}},75251:(e,n,t)=>{var r=t(67294),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function i(e,n,t){var r,o={},i=null,p=null;for(r in void 0!==t&&(i=""+t),void 0!==n.key&&(i=""+n.key),void 0!==n.ref&&(p=n.ref),n)l.call(n,r)&&!c.hasOwnProperty(r)&&(o[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===o[r]&&(o[r]=n[r]);return{$$typeof:a,type:e,key:i,ref:p,props:o,_owner:s.current}}n.Fragment=o,n.jsx=i,n.jsxs=i},85893:(e,n,t)=>{e.exports=t(75251)},11151:(e,n,t)=>{t.d(n,{Z:()=>s,a:()=>l});var r=t(67294);const a={},o=r.createContext(a);function l(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function s(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:l(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]);