Config
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 commandTimeout: Long = Defaults.COMMAND_TIMEOUT, val timeBeforeConsideredIdle: Long = Defaults.TIME_BEFORE_CONSIDERED_IDLE, val autoDiscoverTargets: Boolean = Defaults.AUTO_DISCOVER_TARGETS, val debugStringLimit: Int = Defaults.DEBUG_STRING_LIMIT)
Constructors
Link copied to clipboard
constructor(userDataDir: Path? = null, headless: Boolean = Defaults.HEADLESS, userAgent: String? = null, browserExecutablePath: Path? = null, browserArgs: List<String>? = null, sandbox: Boolean = Defaults.SANDBOX, lang: String? = null, host: String? = null, port: Int? = null, expert: Boolean = Defaults.EXPERT, browserConnectionTimeout: Long = Defaults.BROWSER_CONNECTION_TIMEOUT, browserConnectionMaxTries: Int = Defaults.BROWSER_CONNECTION_MAX_TRIES, commandTimeout: Long = Defaults.COMMAND_TIMEOUT, timeBeforeConsideredIdle: Long = Defaults.TIME_BEFORE_CONSIDERED_IDLE, autoDiscoverTargets: Boolean = Defaults.AUTO_DISCOVER_TARGETS, debugStringLimit: Int = Defaults.DEBUG_STRING_LIMIT)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
How long, in milliseconds, the connection must receive nothing before it counts as idle.
Link copied to clipboard
Link copied to clipboard