"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[69199],{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"},33304:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>o,default:()=>d,frontMatter:()=>p,metadata:()=>i,toc:()=>u});r(67294);vara=r(3905);functionn(){returnn=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varr=arguments[t];for(varainr)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}returne},n.apply(this,arguments)}functionl(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}constp={sidebar_label:"Target"},o="Target class",i={unversionedId:"api/puppeteer.target",id:"version-21.3.7/api/puppeteer.target",title:"Target class",description:"Target represents a CDP target. In CDP a target is something that can be debugged such a frame, a page or a worker.",source:"@site/versioned_docs/version-21.3.7/api/puppeteer.target.md",sourceDirName:"api",slug:"/api/puppeteer.target",permalink:"/api/puppeteer.target",draft:!1,tags:[],version:"21.3.7",frontMatter:{sidebar_label:"Target"},sidebar:"api",previous:{title:"SecurityDetails.validTo",permalink:"/api/puppeteer.securitydetails.validto"},next:{title:"Target.browser",permalink:"/api/puppeteer.target.browser"}},s={},u=[{value:"Signature:",id:"signature",level:4},{value:"Remarks",id:"remarks",level:2},{value:"Methods",id:"methods",level:2}],c={toc:u};functiond(e){var{components:t}=e,r=l(e,["components"]);return(0,a.kt)("wrapper",n({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",n({},{id:"target-class"}),"Target class"),(0,a.kt)("p",null,"Target represents a ",(0,a.kt)("a",n({parentName:"p"},{href:"https://chromedevtools.github.io/devtools-protocol/tot/Target/"}),"CDP target"),".I