puppeteer/docs/api/puppeteer.consolemessage.md
jrandolf f07ad2c661
fix: update documentation on configuring puppeteer (#9150)
This PR updates the docs regarding configuring puppeteer. In addition,
some changes have been made to the documentation generator to show
default values on the documentation site.

Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
2022-10-24 09:07:05 +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()