Target.createCDPSession() 方法
🌐 Target.createCDPSession() method
创建附加到目标的 Chrome Devtools 协议会话。
🌐 Creates a Chrome Devtools Protocol session attached to the target.
语法
🌐 Signature
class Target {
abstract createCDPSession(): Promise<CDPSession>;
}
返回:
Promise<CDPSession>