puppeteer/docs/api/puppeteer.consolemessage.stacktrace.md

334 B

sidebar_label
ConsoleMessage.stackTrace

ConsoleMessage.stackTrace() method

The array of locations on the stack of the console message.

Signature:

class ConsoleMessage {
  stackTrace(): ConsoleMessageLocation[];
}

Returns:

ConsoleMessageLocation[]