Skip to main content
Version: 21.9.0

ConsoleMessage class

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

Signature:

export declare class ConsoleMessage

Constructors

ConstructorModifiersDescription
(constructor)Constructs a new instance of the ConsoleMessage class

Methods

MethodModifiersDescription
argsAn array of arguments passed to the console.
locationThe location of the console message.
stackTraceThe array of locations on the stack of the console message.
textThe text of the console message.
typeThe type of the console message.