puppeteer/website/versioned_docs/version-16.1.0/api/puppeteer.consolemessage.md
release-please[bot] 2d5f216621
chore(main): release 16.1.0 (#8743)
* chore(main): release 16.1.0

* chore: generate versioned docs

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-08-06 16:49:20 +02:00

1.4 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()
location()
stackTrace()
text()
type()