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

344 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.