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

210 B

sidebar_label
ConsoleMessage.text

ConsoleMessage.text() method

The text of the console message.

Signature:

class ConsoleMessage {
  text(): string;
}

Returns:

string