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