puppeteer/website/versioned_docs/version-19.5.1/api/puppeteer.consolemessage.text.md
2023-01-11 16:26:44 +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.