Package-level declarations
Types
Link copied to clipboard
interface BrowserTarget
Link copied to clipboard
class Config(userDataDir: Path? = null, val headless: Boolean = Defaults.HEADLESS, val userAgent: String? = null, browserExecutablePath: Path? = null, browserArgs: List<String>? = null, sandbox: Boolean = Defaults.SANDBOX, val lang: String? = null, var host: String? = null, var port: Int? = null, val expert: Boolean = Defaults.EXPERT, val browserConnectionTimeout: Long = Defaults.BROWSER_CONNECTION_TIMEOUT, val browserConnectionMaxTries: Int = Defaults.BROWSER_CONNECTION_MAX_TRIES, val autoDiscoverTargets: Boolean = Defaults.AUTO_DISCOVER_TARGETS)
Link copied to clipboard
class ConfigBuilder
Builder class for creating Config instances using Kotlin DSL syntax.
Link copied to clipboard
Link copied to clipboard
Default implementation of the Browser interface.
Link copied to clipboard
Functions
Link copied to clipboard
Creates a Config instance using Kotlin DSL syntax.
Link copied to clipboard
suspend fun createBrowser(coroutineScope: CoroutineScope, userDataDir: Path? = null, headless: Boolean = false, userAgent: String? = null, browserExecutablePath: Path? = null, browserArgs: List<String>? = null, sandbox: Boolean = true, lang: String? = null, host: String? = null, port: Int? = null): Browser
The entry point for creating a new Browser instance.
The entry point for creating a new Browser instance using DSL configuration.