Package-level declarations
Types
Link copied to clipboard
class BrowserConfig(val enableProtocolBackend: Boolean = false, val timeouts: Timeouts = Timeouts(), val maxSessions: Int = 1, val allowPrivateAddresses: Boolean = false, val userAgent: String? = null)
How a browser instance behaves. Every default is the conservative choice: one session, no protocol backend, no private addresses.
Link copied to clipboard
The only exception this library throws.
Link copied to clipboard
class Capabilities
What a device can actually do.
Link copied to clipboard
The console method the page called: console.debug/log/warn/error.
Link copied to clipboard
class ConsoleMessage
A console message emitted by page script.
Link copied to clipboard
Which native dialog a page opened.
Link copied to clipboard
interface HeadlessBrowser
A browser running inside this app: no server, no cable, no visible UI.
Link copied to clipboard
Encoding for Page.screenshot.
Link copied to clipboard
class NavigationResult
The outcome of a navigation.
Link copied to clipboard
What a request is for, so rules can be written against categories rather than extensions.
Link copied to clipboard
data class SessionMetrics(val sessionDurationMs: Long, val totalNavigations: Int, val totalJsEvaluations: Int, val totalJsExecutionTimeMs: Long, val blockedBytes: Long, val memoryPressureEvents: Int, val rendererCrashes: Int, val droppedCdpEvents: Long = 0)
Diagnostic metrics captured for a dev.webdroid.core.PageSession. All values are collected strictly locally and never transmitted externally.