Targets management related classes (Manager, TargetSession)
class Manager : Closeable
Manager is responsible for querying, creating, closing, attaching to debuggable targets on the browser side. |
|
data class SessionTarget
SessionTarget represents session we are currently connected to. |
|
class Target : DevToolsProtocol, AutoCloseable, Closeable
Represents browser Target that can be controlled via DevTools Protocol API |
fun TargetInfo.isPage(): Boolean
Returns true if TargetInfo represents page. |
|
fun TargetInfo.toTarget(sessionId: SessionID): SessionTarget
Converts TargetInfo to SessionTarget for given sessionID |