Table of Contents

Class CreateBrowserContextCommandSettings

Namespace
OpenQA.Selenium.DevTools.V147.Target
Assembly
Selenium.WebDriver.dll

Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than one.

public sealed class CreateBrowserContextCommandSettings : ICommand
Inheritance
CreateBrowserContextCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

DisposeOnDetach

If specified, disposes this context when debugging session disconnects.

[JsonPropertyName("disposeOnDetach")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? DisposeOnDetach { get; set; }

Property Value

bool?

OriginsWithUniversalNetworkAccess

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

[JsonPropertyName("originsWithUniversalNetworkAccess")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string[]? OriginsWithUniversalNetworkAccess { get; set; }

Property Value

string[]

ProxyBypassList

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

[JsonPropertyName("proxyBypassList")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ProxyBypassList { get; set; }

Property Value

string

ProxyServer

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

[JsonPropertyName("proxyServer")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ProxyServer { get; set; }

Property Value

string