puppeteer/website/versioned_docs/version-18.2.1/api/puppeteer.consolemessage.text.md
2022-10-06 12:22:55 +02:00

20 lines
209 B
Markdown

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