f07ad2c661
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
30 lines
1.4 KiB
Markdown
30 lines
1.4 KiB
Markdown
---
|
|
sidebar_label: ConsoleMessage
|
|
---
|
|
|
|
# ConsoleMessage class
|
|
|
|
ConsoleMessage objects are dispatched by page via the 'console' event.
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
export declare class ConsoleMessage
|
|
```
|
|
|
|
## Constructors
|
|
|
|
| Constructor | Modifiers | Description |
|
|
| --------------------------------------------------------------------------------------------------- | --------- | ------------------------------------------------------------------ |
|
|
| [(constructor)(type, text, args, stackTraceLocations)](./puppeteer.consolemessage._constructor_.md) | | Constructs a new instance of the <code>ConsoleMessage</code> class |
|
|
|
|
## Methods
|
|
|
|
| Method | Modifiers | Description |
|
|
| -------------------------------------------------------- | --------- | ----------- |
|
|
| [args()](./puppeteer.consolemessage.args.md) | | |
|
|
| [location()](./puppeteer.consolemessage.location.md) | | |
|
|
| [stackTrace()](./puppeteer.consolemessage.stacktrace.md) | | |
|
|
| [text()](./puppeteer.consolemessage.text.md) | | |
|
|
| [type()](./puppeteer.consolemessage.type.md) | | |
|