"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[59382],{3905:(e,t,r)=>{r.d(t,{Zo:()=>u,kt:()=>g});vara=r(67294);functionn(e,t,r){returntine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}functionl(e,t){varr=Object.keys(e);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}returnr}functionp(e){for(vart=1;t<arguments.length;t++){varr=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}returne}functiono(e,t){if(null==e)return{};varr,a,n=function(e,t){if(null==e)return{};varr,a,n={},l=Object.keys(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||(n[r]=e[r]);returnn}(e,t);if(Object.getOwnPropertySymbols){varl=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)r=l[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}returnn}vari=a.createContext({}),s=function(e){vart=a.useContext(i),r=t;returne&&(r="function"==typeofe?e(t):p(p({},t),e)),r},u=function(e){vart=s(e.components);returna.createElement(i.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){vart=e.children;returna.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){varr=e.components,n=e.mdxType,l=e.originalType,i=e.parentName,u=o(e,["components","mdxType","originalType","parentName"]),d=s(r),g=n,m=d["".concat(i,".").concat(g)]||d[g]||c[g]||l;returnr?a.createElement(m,p(p({ref:t},u),{},{components:r})):a.createElement(m,p({ref:t},u))}));functiong(e,t){varr=arguments,n=t&&t.mdxType;if("string"==typeofe||n){varl=r.length,p=newArray(l);p[0]=d;varo={};for(variint)hasOwnProperty.call(t,i)&&(o[i]=t[i]);o.originalType=e,o.mdxType="string"==typeofe?e:n,p[1]=o;for(vars=2;s<l;s++)p[s]=r[s];returna.createElement.apply(null,p)}returna.createElement.apply(null,r)}d.displayName="MDXCreateElement"},32541:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>i,contentTitle:()=>p,default:()=>c,frontMatter:()=>l,metadata:()=>o,toc:()=>s});vara=r(87462),n=(r(67294),r(3905));constl={sidebar_label:"Target"},p="Target class",o={unversionedId:"api/puppeteer.target",id:"version-17.1.1/api/puppeteer.target",title:"Target class",description:"Signature:",source:"@site/versioned_docs/version-17.1.1/api/puppeteer.target.md",sourceDirName:"api",slug:"/api/puppeteer.target",permalink:"/api/puppeteer.target",draft:!1,tags:[],version:"17.1.1",frontMatter:{sidebar_label:"Target"},sidebar:"sidebar",previous:{title:"Target.createCDPSession",permalink:"/api/puppeteer.target.createcdpsession"},next:{title:"Target.opener",permalink:"/api/puppeteer.target.opener"}},i={},s=[{value:"Remarks",id:"remarks",level:2},{value:"Methods",id:"methods",level:2}],u={toc:s};functionc(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,a.Z)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"target-class"},"Target class"),(0,n.kt)("p",null,(0,n.kt)("strong",{parentName:"p"},"Signature:")),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-typescript"},"export declare class Target\n")),(0,n.kt)("h2",{id:"remarks"},"Remarks"),(0,n.kt)("p",null,"The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the ",(0,n.kt)("inlineCode",{parentName:"p"},"Target")," class."),(0,n.kt)("h2",{id:"methods"},"Methods"),(0,n.kt)("table",null,(0,n.kt)("thead",{parentName:"table"},(0,n.kt)("tr",{parentName:"thead"},(0,n.kt)("th",{parentName:"tr",align:null},"Method"),(0,n.kt)("th",{parentName:"tr",align:null},"Modifiers"),(0,n.kt)("th",{parentName:"tr",align:null},"Description"))),(0,n.kt)("tbody",{parentName:"table"},(0,n.kt)("tr",{parentName:"tbody"},(0,n.kt)("td",{parentName:"tr",align:null},(0,n.kt)("a",{pa