Browser Config
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.
Constructors
Properties
Link copied to clipboard
Permits navigation to private, loopback, link-local and cloud metadata addresses. Off by default, and re-checked after every redirect.
Link copied to clipboard
Enables the protocol backend, which requires switching on web contents debugging.
Link copied to clipboard
Concurrent sessions. One is what a phone affords: a loaded page costs 100-250 MB and the system kills the app, not the page.