<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [ConsoleMessage](./puppeteer.consolemessage.md) &gt; [text](./puppeteer.consolemessage.text.md)

## ConsoleMessage.text() method

<b>Signature:</b>

```typescript
text(): string;
```
<b>Returns:</b>

string