Skip to main content
Version: 25.8.0

Connection class

Signature

export declare class Connection extends EventEmitter<CDPSessionEvents>

Extends: EventEmitter<CDPSessionEvents>

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Connection class.

Properties

Property

Modifiers

Type

Description

timeout

readonly

number

Methods

Method

Modifiers

Description

createSession(targetInfo)
dispose()
fromSession(session)

static

send(method, params, options)
session(sessionId)
url()