Chrome DPTarget
@Serializable
Targets are the parts of the browser that the Chrome DevTools Protocol can interact with. This includes pages, service workers, extensions, and also the browser itself.
When a client wants to interact with a target using CDP, it has to first attach to the target. One way to do it is to connect to Chrome via web socket using ChromeDPClient.webSocket and then using BrowserSession.attachToPage or other attach- methods. The client can then interact with the target using the ChromePageSession.
Constructors
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The web socket URL to use with HttpClient.chromeWebSocket to connect via the debugger to this target.