puppeteer/new-docs/puppeteer.protocol.console.consolemessage.md

26 lines
1.4 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Console](./puppeteer.protocol.console.md) &gt; [ConsoleMessage](./puppeteer.protocol.console.consolemessage.md)
## Protocol.Console.ConsoleMessage interface
Console message.
<b>Signature:</b>
```typescript
export interface ConsoleMessage
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [column](./puppeteer.protocol.console.consolemessage.column.md) | [integer](./puppeteer.protocol.integer.md) | Column number in the resource that generated this message (1-based). |
| [level](./puppeteer.protocol.console.consolemessage.level.md) | ('log' \| 'warning' \| 'error' \| 'debug' \| 'info') | Message severity. |
| [line](./puppeteer.protocol.console.consolemessage.line.md) | [integer](./puppeteer.protocol.integer.md) | Line number in the resource that generated this message (1-based). |
| [source](./puppeteer.protocol.console.consolemessage.source.md) | ('xml' \| 'javascript' \| 'network' \| 'console-api' \| 'storage' \| 'appcache' \| 'rendering' \| 'security' \| 'other' \| 'deprecation' \| 'worker') | Message source. |
| [text](./puppeteer.protocol.console.consolemessage.text.md) | string | Message text. |
| [url](./puppeteer.protocol.console.consolemessage.url.md) | string | URL of the message origin. |