"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[11103],{3905:(e,t,a)=>{a.d(t,{Zo:()=>u,kt:()=>k});varn=a(67294);functionr(e,t,a){returntine?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}functionl(e,t){vara=Object.keys(e);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}returna}functionp(e){for(vart=1;t<arguments.length;t++){vara=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach((function(t){r(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}returne}functioni(e,t){if(null==e)return{};vara,n,r=function(e,t){if(null==e)return{};vara,n,r={},l=Object.keys(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||(r[a]=e[a]);returnr}(e,t);if(Object.getOwnPropertySymbols){varl=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}returnr}varo=n.createContext({}),d=function(e){vart=n.useContext(o),a=t;returne&&(a="function"==typeofe?e(t):p(p({},t),e)),a},u=function(e){vart=d(e.components);returnn.createElement(o.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){vart=e.children;returnn.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){vara=e.components,r=e.mdxType,l=e.originalType,o=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),m=d(a),k=r,g=m["".concat(o,".").concat(k)]||m[k]||s[k]||l;returna?n.createElement(g,p(p({ref:t},u),{},{components:a})):n.createElement(g,p({ref:t},u))}));functionk(e,t){vara=arguments,r=t&&t.mdxType;if("string"==typeofe||r){varl=a.length,p=newArray(l);p[0]=m;vari={};for(varoint)hasOwnProperty.call(t,o)&&(i[o]=t[o]);i.originalType=e,i.mdxType="string"==typeofe?e:r,p[1]=i;for(vard=2;d<l;d++)p[d]=a[d];returnn.createElement.apply(null,p)}returnn.createElement.apply(null,a)}m.displayName="MDXCreateElement"},92863:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>d,contentTitle:()=>i,default:()=>m,frontMatter:()=>p,metadata:()=>o,toc:()=>u});a(67294);varn=a(3905);functionr(){returnr=Object.assign||function(e){for(vart=1;t<arguments.length;t++){vara=arguments[t];for(varnina)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}returne},r.apply(this,arguments)}functionl(e,t){if(null==e)return{};vara,n,r=function(e,t){if(null==e)return{};vara,n,r={},l=Object.keys(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||(r[a]=e[a]);returnr}(e,t);if(Object.getOwnPropertySymbols){varl=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}returnr}constp={sidebar_label:"Page"},i="Page class",o={unversionedId:"api/puppeteer.page",id:"version-21.2.1/api/puppeteer.page",title:"Page class",description:"Page provides methods to interact with a single tab or extension background page in the browser.",source:"@site/versioned_docs/version-21.2.1/api/puppeteer.page.md",sourceDirName:"api",slug:"/api/puppeteer.page",permalink:"/api/puppeteer.page",draft:!1,tags:[],version:"21.2.1",frontMatter:{sidebar_label:"Page"},sidebar:"api",previous:{title:"BrowserContext.waitForTarget",permalink:"/api/puppeteer.browsercontext.waitfortarget"},next:{title:"Page.[Symbol.asyncDispose]",permalink:"/api/puppeteer.page._symbol.asyncdispose_"}},d={},u=[{value:"Signature:",id:"signature",level:4},{value:"Remarks",id:"remarks",level:2},{value:"Example 1",id:"example-1",level:2},{value:"Example 2",id:"example-2",level:2},{value:"Properties",id:"properties",level:2},{value:"Methods",id:"methods",level:2}],s={toc:u};functionm(e){var{components:t}=e,a=l(e,["components"]);return(0,n.kt)("wrapper",r({},s,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",r({},{id:"page-class"}),"Page class"),(0,n.kt)("p",null,"Pageprovidesmethods