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

220 B

sidebar_label
ConsoleMessage.text

ConsoleMessage.text() method

Signature:

class ConsoleMessage {text(): string;}

Returns:

string

The text of the console message.