puppeteer/website/versioned_docs/version-19.2.2/api/puppeteer.consolemessage.text.md
2022-11-03 11:02: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.