puppeteer/website/versioned_docs/version-19.2.2/api/puppeteer.cdpsessiononmessageobject.md
2022-11-03 11:02:28 +01:00

22 lines
1.2 KiB
Markdown

---
sidebar_label: CDPSessionOnMessageObject
---
# CDPSessionOnMessageObject interface
#### Signature:
```typescript
export interface CDPSessionOnMessageObject
```
## Properties
| Property | Modifiers | Type | Description | Default |
| ---------------------------------------------------------- | --------- | --------------------------------------------- | ----------------- | ------- |
| [error](./puppeteer.cdpsessiononmessageobject.error.md) | | { message: string; data: any; code: number; } | | |
| [id?](./puppeteer.cdpsessiononmessageobject.id.md) | | number | <i>(Optional)</i> | |
| [method](./puppeteer.cdpsessiononmessageobject.method.md) | | string | | |
| [params](./puppeteer.cdpsessiononmessageobject.params.md) | | Record&lt;string, unknown&gt; | | |
| [result?](./puppeteer.cdpsessiononmessageobject.result.md) | | any | <i>(Optional)</i> | |