mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
209 B
Markdown
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.
|