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