"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7110],{3905:(e,t,r)=>{r.d(t,{Zo:()=>s,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({}),u=function(e){vart=a.useContext(i),r=t;returne&&(r="function"==typeofe?e(t):p(p({},t),e)),r},s=function(e){vart=u(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,s=o(e,["components","mdxType","originalType","parentName"]),d=u(r),g=n,m=d["".concat(i,".").concat(g)]||d[g]||c[g]||l;returnr?a.createElement(m,p(p({ref:t},s),{},{components:r})):a.createElement(m,p({ref:t},s))}));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(varu=2;u<l;u++)p[u]=r[u];returna.createElement.apply(null,p)}returna.createElement.apply(null,r)}d.displayName="MDXCreateElement"},86348:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>d,frontMatter:()=>p,metadata:()=>i,toc:()=>s});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:"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/../docs/api/puppeteer.target.md",sourceDirName:"api",slug:"/api/puppeteer.target",permalink:"/next/api/puppeteer.target",draft:!1,tags:[],version:"current",frontMatter:{sidebar_label:"Target"},sidebar:"api",previous:{title:"SecurityDetails.validTo",permalink:"/next/api/puppeteer.securitydetails.validto"},next:{title:"Target.browser",permalink:"/next/api/puppeteer.target.browser"}},u={},s=[{value:"Signature:",id:"signature",level:4},{value:"Remarks",id:"remarks",level:2},{value:"Methods",id:"methods",level:2}],c={toc:s};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"),".InCDPatargetissome