pl.wendigo.chrome / InspectablePage

InspectablePage

data class InspectablePage (source)

InspectablePage represents debuggable page.

Constructors

<init>

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

InspectablePage represents debuggable page.

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): ChromeProtocol

Opens new chrome protocol debugger connection.