"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[15783],{3905:(e,t,n)=>{n.d(t,{Zo:()=>u,kt:()=>f});varr=n(67294);functiona(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functiono(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}returnn}functionl(e){for(vart=1;t<arguments.length;t++){varn=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}returne}functionp(e,t){if(null==e)return{};varn,r,a=function(e,t){if(null==e)return{};varn,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);returna}(e,t);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}returna}vari=r.createContext({}),c=function(e){vart=r.useContext(i),n=t;returne&&(n="function"==typeofe?e(t):l(l({},t),e)),n},u=function(e){vart=c(e.components);returnr.createElement(i.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){vart=e.children;returnr.createElement(r.Fragment,{},t)}},s=r.forwardRef((function(e,t){varn=e.components,a=e.mdxType,o=e.originalType,i=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),s=c(n),f=a,d=s["".concat(i,".").concat(f)]||s[f]||m[f]||o;returnn?r.createElement(d,l(l({ref:t},u),{},{components:n})):r.createElement(d,l({ref:t},u))}));functionf(e,t){varn=arguments,a=t&&t.mdxType;if("string"==typeofe||a){varo=n.length,l=newArray(o);l[0]=s;varp={};for(variint)hasOwnProperty.call(t,i)&&(p[i]=t[i]);p.originalType=e,p.mdxType="string"==typeofe?e:a,l[1]=p;for(varc=2;c<o;c++)l[c]=n[c];returnr.createElement.apply(null,l)}returnr.createElement.apply(null,n)}s.displayName="MDXCreateElement"},46946:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>p,default:()=>s,frontMatter:()=>l,metadata:()=>i,toc:()=>u});n(67294);varr=n(3905);functiona(){returna=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varn=arguments[t];for(varrinn)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}returne},a.apply(this,arguments)}functiono(e,t){if(null==e)return{};varn,r,a=function(e,t){if(null==e)return{};varn,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);returna}(e,t);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}returna}constl={sidebar_label:"ElementHandle.contentFrame"},p="ElementHandle.contentFrame() method",i={unversionedId:"api/puppeteer.elementhandle.contentframe",id:"version-20.1.2/api/puppeteer.elementhandle.contentframe",title:"ElementHandle.contentFrame() method",description:"Resolves to the content frame for element handles referencing iframe nodes, or null otherwise",source:"@site/versioned_docs/version-20.1.2/api/puppeteer.elementhandle.contentframe.md",sourceDirName:"api",slug:"/api/puppeteer.elementhandle.contentframe",permalink:"/api/puppeteer.elementhandle.contentframe",draft:!1,tags:[],version:"20.1.2",frontMatter:{sidebar_label:"ElementHandle.contentFrame"},sidebar:"api",previous:{title:"ElementHandle.clickablePoint",permalink:"/api/puppeteer.elementhandle.clickablepoint"},next:{title:"ElementHandle.drag",permalink:"/api/puppeteer.elementhandle.drag"}},c={},u=[{value:"Signature:",id:"signature",level:4}],m={toc:u};functions(e){var{components:t}=e,n=o(e,["components"]);return(0,r.kt)("wrapper",a({},m,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",a({},{id:"elementhandlecontentframe-method"}),"ElementHandle.contentFrame() method"),(0,r.kt)("p",null