--- sidebar_label: CDPSessionOnMessageObject --- # CDPSessionOnMessageObject interface **Signature:** ```typescript export interface CDPSessionOnMessageObject ``` ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [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) |