20 lines
334 B
Markdown
20 lines
334 B
Markdown
---
|
|
sidebar_label: ConsoleMessage.stackTrace
|
|
---
|
|
|
|
# ConsoleMessage.stackTrace() method
|
|
|
|
The array of locations on the stack of the console message.
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
class ConsoleMessage {
|
|
stackTrace(): ConsoleMessageLocation[];
|
|
}
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
[ConsoleMessageLocation](./puppeteer.consolemessagelocation.md)\[\]
|