puppeteer/docs/api/puppeteer.consolemessage.text.md

20 lines
210 B
Markdown

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