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