Package-level declarations
Types
Link copied to clipboard
Interface representing a connection to a browser target using the Chrome DevTools Protocol (CDP).
Link copied to clipboard
open class DefaultConnection(websocketUrl: String, messageListeningScope: CoroutineScope, eventsBufferSize: Int, var targetInfo: Target.TargetInfo? = null, var owner: Browser? = null) : Connection
Default implementation of the Connection interface.
Functions
Link copied to clipboard
inline fun <T> Connection.addHandler(coroutineScope: CoroutineScope, crossinline event: CDP.() -> Flow<T>, crossinline handler: suspend (T) -> Unit): Job
Adds a handler for a specific CDP event.