puppeteer/assets/js/80a8efd9.5e336341.js

2 lines
3.0 KiB
JavaScript
Raw Normal View History

/*! For license information please see 80a8efd9.5e336341.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[7214],{36079:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>i,contentTitle:()=>r,default:()=>u,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var o=t(85893),n=t(11151);const a={sidebar_label:"ConsoleMessage.stackTrace"},r="ConsoleMessage.stackTrace() method",c={id:"api/puppeteer.consolemessage.stacktrace",title:"ConsoleMessage.stackTrace() method",description:"The array of locations on the stack of the console message.",source:"@site/versioned_docs/version-22.8.0/api/puppeteer.consolemessage.stacktrace.md",sourceDirName:"api",slug:"/api/puppeteer.consolemessage.stacktrace",permalink:"/api/puppeteer.consolemessage.stacktrace",draft:!1,unlisted:!1,tags:[],version:"22.8.0",frontMatter:{sidebar_label:"ConsoleMessage.stackTrace"},sidebar:"api",previous:{title:"ConsoleMessage.location",permalink:"/api/puppeteer.consolemessage.location"},next:{title:"ConsoleMessage.text",permalink:"/api/puppeteer.consolemessage.text"}},i={},l=[{value:"Signature:",id:"signature",level:4}];function p(e){const s={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.h1,{id:"consolemessagestacktrace-method",children:"ConsoleMessage.stackTrace() method"}),"\n",(0,o.jsx)(s.p,{children:"The array of locations on the stack of the console message."}),"\n",(0,o.jsx)(s.h4,{id:"signature",children:"Signature:"}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-typescript",children:"class ConsoleMessage {\n stackTrace(): ConsoleMessageLocation[];\n}\n"})}),"\n",(0,o.jsx)(s.p,{children:(0,o.jsx)(s.strong,{children:"Returns:"})}),"\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.a,{href:"/api/puppeteer.consolemessagelocation",children:"ConsoleMessageLocation"}),"[]"]})]})}function u(e={}){const{wrapper:s}={...(0,n.a)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(p,{...e})}):p(e)}},75251:(e,s,t)=>{var o=t(67294),n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,c=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,s,t){var o,a={},l=null,p=null;for(o in void 0!==t&&(l=""+t),void 0!==s.key&&(l=""+s.key),void 0!==s.ref&&(p=s.ref),s)r.call(s,o)&&!i.hasOwnProperty(o)&&(a[o]=s[o]);if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===a[o]&&(a[o]=s[o]);return{$$typeof:n,type:e,key:l,ref:p,props:a,_owner:c.current}}s.Fragment=a,s.jsx=l,s.jsxs=l},85893:(e,s,t)=>{e.exports=t(75251)},11151:(e,s,t)=>{t.d(s,{Z:()=>c,a:()=>r});var o=t(67294);const n={},a=o.createContext(n);function r(e){const s=o.useContext(a);return o.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:r(e.components),o.createElement(a.Provider,{value:s},e.children)}}}]);