puppeteer/docs/api/puppeteer.consolemessage.type.md

20 lines
270 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: ConsoleMessage.type
---
# ConsoleMessage.type() method
**Signature:**
```typescript
class ConsoleMessage {
type(): ConsoleMessageType;
}
```
**Returns:**
[ConsoleMessageType](./puppeteer.consolemessagetype.md)
The type of the console message.