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