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