data class TargetInfo
(source)
Link
Target#TargetInfo type documentation.
TargetInfo(targetId: TargetID, type: String, title: String, url: String, attached: Boolean, openerId: TargetID? = null, browserContextId: BrowserContextID? = null) |
val attached: Boolean
Whether the target has an attached client. |
|
val browserContextId: BrowserContextID? |
|
val openerId: TargetID?
Opener target Id |
|
val targetId: TargetID |
|
val title: String |
|
val type: String |
|
val url: String |
fun TargetInfo.isPage(): Boolean
Returns true if TargetInfo represents page. |
|
fun TargetInfo.toTarget(sessionId: SessionID): SessionTarget
Converts TargetInfo to SessionTarget for given sessionID |