<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [ConsoleMessage](./puppeteer.consolemessage.md) &gt; [type](./puppeteer.consolemessage.type.md)

## ConsoleMessage.type() method

<b>Signature:</b>

```typescript
type(): ConsoleMessageType;
```
<b>Returns:</b>

[ConsoleMessageType](./puppeteer.consolemessagetype.md)

The type of the console message.

