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

Exception thrown when the browser responds with an error to a CDP command.

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

Base type for any message exchanged with the Chrome DevTools Protocol (CDP).

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

Representation of a request sent to the Chrome DevTools Protocol (CDP).

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?