CreateBrowserContextRequest

@Serializable
data class CreateBrowserContextRequest(val disposeOnDetach: Boolean? = null, val proxyServer: String? = null, val proxyBypassList: String? = null, val originsWithUniversalNetworkAccess: List<String>? = null)

Request object containing input parameters for the TargetDomain.createBrowserContext command.

Constructors

Link copied to clipboard
constructor(disposeOnDetach: Boolean? = null, proxyServer: String? = null, proxyBypassList: String? = null, originsWithUniversalNetworkAccess: List<String>? = null)

Types

Link copied to clipboard
class Builder

A builder for CreateBrowserContextRequest, which allows setting the optional parameters of the TargetDomain.createBrowserContext command via a lambda.

Properties

Link copied to clipboard

If specified, disposes this context when debugging session disconnects.

Link copied to clipboard

An optional list of origins to grant unlimited cross-origin access to. Parts of the URL other than those constituting origin are ignored.

Link copied to clipboard
val proxyBypassList: String? = null

Proxy bypass list, similar to the one passed to --proxy-bypass-list

Link copied to clipboard
val proxyServer: String? = null

Proxy server, similar to the one passed to --proxy-server