puppeteer/website/versioned_docs/version-19.8.0/api/puppeteer.cdpsessiononmessageobject.md

22 lines
1.2 KiB
Markdown
Raw Normal View History

---
sidebar_label: CDPSessionOnMessageObject
---
# CDPSessionOnMessageObject interface
2022-10-24 14:31:12 +00:00
#### 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 | _(Optional)_ | |
| [method](./puppeteer.cdpsessiononmessageobject.method.md) | | string | | |
| [params](./puppeteer.cdpsessiononmessageobject.params.md) | | Record<string, unknown> | | |
| [result?](./puppeteer.cdpsessiononmessageobject.result.md) | | any | _(Optional)_ | |