Connection.session() 方法
签名
class Connection {
session(sessionId: string): CDPSession | null;
}
参数
|
参数 |
类型 |
说明 |
|---|---|---|
|
sessionId |
string |
会话 id |
返回值:
CDPSession | null
当前的 CDP 会话(如果存在)
class Connection {
session(sessionId: string): CDPSession | null;
}
|
参数 |
类型 |
说明 |
|---|---|---|
|
sessionId |
string |
会话 id |
返回值:
CDPSession | null
当前的 CDP 会话(如果存在)