chrome-devtools-kotlin / org.hildan.chrome.devtools.protocol / RequestFrame

RequestFrame

data class RequestFrame

Represents a request frame, as defined in the protocol's README

Constructors

<init>

Represents a request frame, as defined in the protocol's README

RequestFrame(id: Long, sessionId: String? = null, method: String, params: JsonElement? = null)

Properties

id

Request id, must be unique.

val id: Long

method

Protocol method (domain.method_name i.e. Page.navigateTo)

val method: String

params

Request params (if any)

val params: JsonElement?

sessionId

Session ID for Target's flatten mode requests (see http://crbug.com/991325).

val sessionId: String?