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, var targetInfo: Target.TargetInfo? = null, var owner: Browser? = null) : OwnedConnection
Default implementation of the Connection interface.
Link copied to clipboard
Default WebSocketTransport backed by a Ktor WebSocket session.
Link copied to clipboard
Link copied to clipboard
interface WebSocketTransport
Abstraction over the raw WebSocket connection used to talk to the browser.
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.
Link copied to clipboard
Link copied to clipboard