Puppeteer 中文文档v25.8.0

CDPSession.connection() 方法

此会话的底层连接(如果存在)。

签名

class CDPSession {
  abstract connection(): Connection | undefined;
}

返回值:

Connection | undefined