"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[50209],{3905:(e,t,n)=>{n.d(t,{Zo:()=>i,kt:()=>y});varr=n(67294);functiono(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functiona(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}returnn}functionp(e){for(vart=1;t<arguments.length;t++){varn=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}returne}functions(e,t){if(null==e)return{};varn,r,o=function(e,t){if(null==e)return{};varn,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);returno}(e,t);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}returno}varl=r.createContext({}),c=function(e){vart=r.useContext(l),n=t;returne&&(n="function"==typeofe?e(t):p(p({},t),e)),n},i=function(e){vart=c(e.components);returnr.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){vart=e.children;returnr.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){varn=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,i=s(e,["components","mdxType","originalType","parentName"]),m=c(n),y=o,f=m["".concat(l,".").concat(y)]||m[y]||u[y]||a;returnn?r.createElement(f,p(p({ref:t},i),{},{components:n})):r.createElement(f,p({ref:t},i))}));functiony(e,t){varn=arguments,o=t&&t.mdxType;if("string"==typeofe||o){vara=n.length,p=newArray(a);p[0]=m;vars={};for(varlint)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeofe?e:o,p[1]=s;for(varc=2;c<a;c++)p[c]=n[c];returnr.createElement.apply(null,p)}returnr.createElement.apply(null,n)}m.displayName="MDXCreateElement"},90269:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>p,default:()=>u,frontMatter:()=>a,metadata:()=>s,toc:()=>c});varr=n(87462),o=(n(67294),n(3905));consta={sidebar_label:"ConsoleMessage.type"},p="ConsoleMessage.type() method",s={unversionedId:"api/puppeteer.consolemessage.type",id:"api/puppeteer.consolemessage.type",title:"ConsoleMessage.type() method",description:"Signature:",source:"@site/../docs/api/puppeteer.consolemessage.type.md",sourceDirName:"api",slug:"/api/puppeteer.consolemessage.type",permalink:"/next/api/puppeteer.consolemessage.type",draft:!1,tags:[],version:"current",frontMatter:{sidebar_label:"ConsoleMessage.type"},sidebar:"sidebar",previous:{title:"ConsoleMessage.text",permalink:"/next/api/puppeteer.consolemessage.text"},next:{title:"ConsoleMessageLocation.columnNumber",permalink:"/next/api/puppeteer.consolemessagelocation.columnnumber"}},l={},c=[],i={toc:c};functionu(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:"consolemessagetype-method"},"ConsoleMessage.type() 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 type(): ConsoleMessageType;\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:"/next/api/puppeteer.consolemessagetype"},"ConsoleMessageType")),(0,o.kt)("p",null,"The type of the console message."))}u.isMDXComponent=!0}}]);