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