ConsoleMessageConsoleMessage.textVersion: 22.0.0On this pageConsoleMessage.text() method The text of the console message. Signature: class ConsoleMessage { text(): string;} Returns: string