puppeteer/website/versioned_docs/version-19.4.1/api/puppeteer.consolemessage.text.md
2022-12-16 14:21:28 +01:00

20 lines
210 B
Markdown

---
sidebar_label: ConsoleMessage.text
---
# ConsoleMessage.text() method
#### Signature:
```typescript
class ConsoleMessage {
text(): string;
}
```
**Returns:**
string
The text of the console message.