puppeteer/new-docs/puppeteer.protocol.console.consolemessage.md
Johan Bay e89e264a16
feat(chromium): roll Chromium to r782078 (#6250)
This corresponds to Chromium 85.0.4182.0.

This roll includes: 
- Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure
   https://crrev.com/c/2231445
- [FlexNG] Enable FlexNG by default
   https://crrev.com/c/2216595

Closes #6151.
2020-07-20 17:17:06 +02:00

1.5 KiB

Home > puppeteer > Protocol > Console > ConsoleMessage

Protocol.Console.ConsoleMessage interface

Console message.

Signature:

export interface ConsoleMessage 

Properties

Property Type Description
column integer Column number in the resource that generated this message (1-based).
level ('log' | 'warning' | 'error' | 'debug' | 'info') Message severity. (ConsoleMessageLevel enum)
line integer Line number in the resource that generated this message (1-based).
source ('xml' | 'javascript' | 'network' | 'console-api' | 'storage' | 'appcache' | 'rendering' | 'security' | 'other' | 'deprecation' | 'worker') Message source. (ConsoleMessageSource enum)
text string Message text.
url string URL of the message origin.