ConsoleMessage
A console message emitted by the page. Mirrors puppeteer's ConsoleMessage, sourced from CDP Runtime.consoleAPICalled and Runtime.exceptionThrown.
Properties
| Property | Type | Description |
|---|---|---|
args | string[] | null | Each console argument, JSON-encoded and in order (equivalent to msg.args()). |
location | ConsoleMessageLocation | null | The source location the message originated from. |
text | string | null | The joined, human-readable message text (equivalent to puppeteer's msg.text()). |
timestamp | number | null | Wall-clock milliseconds since the Unix epoch when the message was emitted. |
type | ConsoleMessageType | null | The kind of console message. |