puppeteer/new-docs/puppeteer.page._addconsolemessage.md

25 lines
665 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Page](./puppeteer.page.md) &gt; [\_addConsoleMessage](./puppeteer.page._addconsolemessage.md)
## Page.\_addConsoleMessage() method
<b>Signature:</b>
```typescript
_addConsoleMessage(type: string, args: JSHandle[], stackTrace?: Protocol.Runtime.StackTrace): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| type | string | |
| args | [JSHandle](./puppeteer.jshandle.md)<!-- -->\[\] | |
| stackTrace | Protocol.Runtime.StackTrace | |
<b>Returns:</b>
void