puppeteer/website/versioned_docs/version-16.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.