puppeteer/website/versioned_docs/version-19.1.0/api/puppeteer.consolemessage.stacktrace.md

333 B

sidebar_label
ConsoleMessage.stackTrace

ConsoleMessage.stackTrace() method

Signature:

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

Returns:

ConsoleMessageLocation[]

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