"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[31631],{3905:(e,t,r)=>{r.d(t,{Zo:()=>l,kt:()=>m});varn=r(67294);functiona(e,t,r){returntine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}functiono(e,t){varr=Object.keys(e);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}returnr}functionp(e){for(vart=1;t<arguments.length;t++){varr=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}returne}functioni(e,t){if(null==e)return{};varr,n,a=function(e,t){if(null==e)return{};varr,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);returna}(e,t);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}returna}varc=n.createContext({}),s=function(e){vart=n.useContext(c),r=t;returne&&(r="function"==typeofe?e(t):p(p({},t),e)),r},l=function(e){vart=s(e.components);returnn.createElement(c.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){vart=e.children;returnn.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){varr=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),f=s(r),m=a,d=f["".concat(c,".").concat(m)]||f[m]||u[m]||o;returnr?n.createElement(d,p(p({ref:t},l),{},{components:r})):n.createElement(d,p({ref:t},l))}));functionm(e,t){varr=arguments,a=t&&t.mdxType;if("string"==typeofe||a){varo=r.length,p=newArray(o);p[0]=f;vari={};for(varcint)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i.mdxType="string"==typeofe?e:a,p[1]=i;for(vars=2;s<o;s++)p[s]=r[s];returnn.createElement.apply(null,p)}returnn.createElement.apply(null,r)}f.displayName="MDXCreateElement"},10970:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>p,default:()=>u,frontMatter:()=>o,metadata:()=>i,toc:()=>s});varn=r(87462),a=(r(67294),r(3905));consto={sidebar_label:"Tracing.stop"},p="Tracing.stop() method",i={unversionedId:"api/puppeteer.tracing.stop",id:"version-15.3.1/api/puppeteer.tracing.stop",title:"Tracing.stop() method",description:"Stops a trace started with the start method.",source:"@site/versioned_docs/version-15.3.1/api/puppeteer.tracing.stop.md",sourceDirName:"api",slug:"/api/puppeteer.tracing.stop",permalink:"/api/puppeteer.tracing.stop",draft:!1,tags:[],version:"15.3.1",frontMatter:{sidebar_label:"Tracing.stop"},sidebar:"sidebar",previous:{title:"Tracing.start",permalink:"/api/puppeteer.tracing.start"},next:{title:"TracingOptions",permalink:"/api/puppeteer.tracingoptions"}},c={},s=[],l={toc:s};functionu(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"tracingstop-method"},"Tracing.stop() method"),(0,a.kt)("p",null,"Stops a trace started with the ",(0,a.kt)("inlineCode",{parentName:"p"},"start")," method."),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Signature:")),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-typescript"},"class Tracing {\n stop(): Promise<Buffer | undefined>;\n}\n")),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Returns:")),(0,a.kt)("p",null,"Promise","<","Buffer ","|"," undefined",">"),(0,a.kt)("p",null,"Promise which resolves to buffer with trace data."))}u.isMDXComponent=!0}}]);