--- sidebar_label: CDPSession.id --- # CDPSession.id() method Returns the session's id. **Signature:** ```typescript class CDPSession {id(): string;} ``` **Returns:** string