ProtocolTarget

data class ProtocolTarget(val id: String, val type: String, val title: String, val url: String, val webSocketDebuggerUrl: String?, val socketName: String = "")

One debuggable target the control endpoint reported, from GET /json/list.

Constructors

Link copied to clipboard
constructor(id: String, type: String, title: String, url: String, webSocketDebuggerUrl: String?, socketName: String = "")

Properties

Link copied to clipboard
val id: String

The target's CDP id.

Link copied to clipboard

Which socket name answered this target; empty when not tracked by the caller.

Link copied to clipboard

The page's title at discovery time, not kept live.

Link copied to clipboard

"page" for a renderable target; other values exist but are not bound here.

Link copied to clipboard
val url: String

The page's URL at discovery time, not kept live.

Link copied to clipboard

The path to open a WebSocket connection to this target, or null if none was offered.