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

271 B

sidebar_label
ConsoleMessage.type

ConsoleMessage.type() method

The type of the console message.

Signature:

class ConsoleMessage {
  type(): ConsoleMessageType;
}

Returns:

ConsoleMessageType