mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2d8acd2021
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
1.7 KiB
1.7 KiB
sidebar_label |
---|
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() | An array of arguments passed to the console. | |
location() | The location of the console message. | |
stackTrace() | The array of locations on the stack of the console message. | |
text() | The text of the console message. | |
type() | The type of the console message. |