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

20 lines
298 B
Markdown
Raw Normal View History

---
sidebar_label: ConsoleMessage.location
---
# ConsoleMessage.location() method
**Signature:**
```typescript
class ConsoleMessage {
location(): ConsoleMessageLocation;
}
```
**Returns:**
[ConsoleMessageLocation](./puppeteer.consolemessagelocation.md)
The location of the console message.