pl.wendigo.chrome.protocol.inspector / InspectablePage

InspectablePage

data class InspectablePage (source)

InspectablePage represents page that can be debugged and attached to.

Constructors

<init>

InspectablePage(description: String, devtoolsFrontendUrl: String?, id: String, title: String, type: String, url: String, webSocketDebuggerUrl: String?)

InspectablePage represents page that can be debugged and attached to.

Properties

description

val description: String

Page description

devtoolsFrontendUrl

val devtoolsFrontendUrl: String?

Devtools url

id

val id: String

Identifier

title

val title: String

Current page title

type

val type: String

Type of tab (page, service_worker etc)

url

val url: String

Page url

webSocketDebuggerUrl

val webSocketDebuggerUrl: String?

Web socket debugger url (ws:// scheme)

Functions

session

fun session(eventBufferSize: Int = 512): DevToolsProtocol

Opens new chrome protocol debugger connection.