puppeteer/website/versioned_docs/version-17.0.0/api/puppeteer.consolemessage.text.md

20 lines
209 B
Markdown
Raw Normal View History

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