Package-level declarations

Types

Link copied to clipboard
interface CDP

Thin wrapper of Chrome DevTools Protocol.

Link copied to clipboard
class CDPException(val method: String, val code: Int, val originalMessage: String, val data: String?) : Exception

An error returned from the browser.

Link copied to clipboard
Link copied to clipboard
interface Domain
Link copied to clipboard
annotation class InternalCdpApi
Link copied to clipboard
@Serializable(with = MessageSerializer::class)
sealed class Message

A kind of data frame comes from CDP. It should be Response or Event.

Link copied to clipboard
@Serializable
class Request(val id: Long, val method: String, val params: JsonElement?)

Representation of the request of CDP command.

Properties

Link copied to clipboard
val CDP.cdp: CDP

Functions

Link copied to clipboard
inline fun <T : Domain> CDP.cacheGeneratedDomain(domain: T): T
Link copied to clipboard
inline fun <T : Domain> CDP.getGeneratedDomain(): T?