"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[27573],{3905:(e,t,r)=>{r.d(t,{Zo:()=>i,kt:()=>f});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}functions(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}functionc(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}varp=n.createContext({}),l=function(e){vart=n.useContext(p),r=t;returne&&(r="function"==typeofe?e(t):s(s({},t),e)),r},i=function(e){vart=l(e.components);returnn.createElement(p.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){vart=e.children;returnn.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){varr=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,i=c(e,["components","mdxType","originalType","parentName"]),m=l(r),f=a,g=m["".concat(p,".").concat(f)]||m[f]||u[f]||o;returnr?n.createElement(g,s(s({ref:t},i),{},{components:r})):n.createElement(g,s({ref:t},i))}));functionf(e,t){varr=arguments,a=t&&t.mdxType;if("string"==typeofe||a){varo=r.length,s=newArray(o);s[0]=m;varc={};for(varpint)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c.mdxType="string"==typeofe?e:a,s[1]=c;for(varl=2;l<o;l++)s[l]=r[l];returnn.createElement.apply(null,s)}returnn.createElement.apply(null,r)}m.displayName="MDXCreateElement"},36433:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>s,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>l});varn=r(87462),a=(r(67294),r(3905));consto={sidebar_label:"ConsoleMessage.stackTrace"},s="ConsoleMessage.stackTrace() method",c={unversionedId:"api/puppeteer.consolemessage.stacktrace",id:"version-17.1.1/api/puppeteer.consolemessage.stacktrace",title:"ConsoleMessage.stackTrace() method",description:"Signature:",source:"@site/versioned_docs/version-17.1.1/api/puppeteer.consolemessage.stacktrace.md",sourceDirName:"api",slug:"/api/puppeteer.consolemessage.stacktrace",permalink:"/api/puppeteer.consolemessage.stacktrace",draft:!1,tags:[],version:"17.1.1",frontMatter:{sidebar_label:"ConsoleMessage.stackTrace"},sidebar:"sidebar",previous:{title:"ConsoleMessage",permalink:"/api/puppeteer.consolemessage"},next:{title:"ConsoleMessage.text",permalink:"/api/puppeteer.consolemessage.text"}},p={},l=[],i={toc:l};functionu(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"consolemessagestacktrace-method"},"ConsoleMessage.stackTrace() 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 ConsoleMessage {\n stackTrace(): ConsoleMessageLocation[];\n}\n")),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Returns:")),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"/api/puppeteer.consolemessagelocation"},"ConsoleMessageLocation"),"[","]"),(0,a.kt)("p",null,"The array of locations on the stack of the console message."))}u.isMDXComponent=!0}}]);