0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/website/versioned_docs/version-10.1.0/puppeteer.consolemessage.md
2021-08-10 11:09:48 +01:00

991 B

Home > puppeteer > ConsoleMessage

ConsoleMessage class

ConsoleMessage objects are dispatched by page via the 'console' event.

Signature:

export declare class ConsoleMessage 

Constructors

Constructor Modifiers Description
(constructor)(type, text, args, stackTraceLocations) Constructs a new instance of the ConsoleMessage class

Methods

Method Modifiers Description
args()
location()
stackTrace()
text()
type()