mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
30 lines
941 B
Markdown
30 lines
941 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [ConsoleMessage](./puppeteer.consolemessage.md)
|
|
|
|
## ConsoleMessage class
|
|
|
|
ConsoleMessage objects are dispatched by page via the 'console' event.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export declare class ConsoleMessage
|
|
```
|
|
|
|
## Constructors
|
|
|
|
| Constructor | Modifiers | Description |
|
|
| --- | --- | --- |
|
|
| [(constructor)(type, text, args, location)](./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) | | |
|
|
| [text()](./puppeteer.consolemessage.text.md) | | |
|
|
| [type()](./puppeteer.consolemessage.type.md) | | |
|
|
|