ConsoleMessageConsoleMessage.textVersion: 19.7.5On this pageConsoleMessage.text() methodSignature:class ConsoleMessage { text(): string;}Returns:stringThe text of the console message.