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