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

20 lines
270 B
Markdown
Raw Normal View History

2022-06-29 13:00:37 +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.