Home > puppeteer > ConsoleMessage > text ConsoleMessage.text() method Signature: text(): string; Returns: string The text of the console message.