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