-
- All Implemented Interfaces:
public final class ChromeDPTargetTargets are the parts of the browser that the Chrome DevTools Protocol can interact with. This includes for instance pages, serviceworkers and 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 ChromeBrowserSession.attachToPage or other attach- methods. The client can then interact with the target using the ChromePageSession.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final Stringtitleprivate final Stringtypeprivate final Stringdescriptionprivate final StringdevtoolsFrontendUrlprivate final StringwebSocketDebuggerUrl
-
Method Summary
Modifier and Type Method Description final StringgetId()final StringgetTitle()final StringgetType()final StringgetDescription()final StringgetDevtoolsFrontendUrl()final StringgetWebSocketDebuggerUrl()-
-
Method Detail
-
getDescription
final String getDescription()
-
getDevtoolsFrontendUrl
final String getDevtoolsFrontendUrl()
-
getWebSocketDebuggerUrl
final String getWebSocketDebuggerUrl()
-
-
-
-