APIConsoleMessageConsoleMessage.textConsoleMessage.text() methodSignature:class ConsoleMessage { text(): string;}Returns:stringThe text of the console message.