"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[31872],{3905:(e,t,n)=>{n.d(t,{Zo:()=>i,kt:()=>f});var r=n(67294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=r.createContext({}),c=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},i=function(e){var t=c(e.components);return r.createElement(p.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,i=l(e,["components","mdxType","originalType","parentName"]),m=c(n),f=o,g=m["".concat(p,".").concat(f)]||m[f]||u[f]||a;return n?r.createElement(g,s(s({ref:t},i),{},{components:n})):r.createElement(g,s({ref:t},i))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,s=new Array(a);s[0]=m;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:o,s[1]=l;for(var c=2;c{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>s,default:()=>u,frontMatter:()=>a,metadata:()=>l,toc:()=>c});var r=n(87462),o=(n(67294),n(3905));const a={sidebar_label:"ConsoleMessage.location"},s="ConsoleMessage.location() method",l={unversionedId:"api/puppeteer.consolemessage.location",id:"api/puppeteer.consolemessage.location",title:"ConsoleMessage.location() method",description:"Signature:",source:"@site/../docs/api/puppeteer.consolemessage.location.md",sourceDirName:"api",slug:"/api/puppeteer.consolemessage.location",permalink:"/api/puppeteer.consolemessage.location",draft:!1,tags:[],version:"current",frontMatter:{sidebar_label:"ConsoleMessage.location"},sidebar:"sidebar",previous:{title:"ConsoleMessage.args",permalink:"/api/puppeteer.consolemessage.args"},next:{title:"ConsoleMessage.stackTrace",permalink:"/api/puppeteer.consolemessage.stacktrace"}},p={},c=[],i={toc:c};function u(e){let{components:t,...n}=e;return(0,o.kt)("wrapper",(0,r.Z)({},i,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"consolemessagelocation-method"},"ConsoleMessage.location() method"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Signature:")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-typescript"},"class ConsoleMessage {\n location(): ConsoleMessageLocation;\n}\n")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Returns:")),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"/api/puppeteer.consolemessagelocation"},"ConsoleMessageLocation")),(0,o.kt)("p",null,"The location of the console message."))}u.isMDXComponent=!0}}]);