Table of Contents

Class Proxy

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

Describes proxy settings to be used with a driver instance.

public class Proxy
Inheritance
Proxy
Inherited Members

Constructors

Proxy()

Initializes a new instance of the Proxy class.

public Proxy()

Proxy(Dictionary<string, object>)

Initializes a new instance of the Proxy class with the given proxy settings.

public Proxy(Dictionary<string, object> settings)

Parameters

settings Dictionary<string, object>

A dictionary of settings to use with the proxy.

Properties

FtpProxy

Gets or sets the value of the proxy for the FTP protocol.

public string FtpProxy { get; set; }

Property Value

string

HttpProxy

Gets or sets the value of the proxy for the HTTP protocol.

public string HttpProxy { get; set; }

Property Value

string

IsAutoDetect

Gets or sets a value indicating whether the proxy uses automatic detection.

public bool IsAutoDetect { get; set; }

Property Value

bool

Kind

Gets or sets the type of proxy.

public ProxyKind Kind { get; set; }

Property Value

ProxyKind

NoProxy

Gets or sets the value for bypass proxy addresses.

public string NoProxy { get; set; }

Property Value

string

ProxyAutoConfigUrl

Gets or sets the URL used for proxy automatic configuration.

public string ProxyAutoConfigUrl { get; set; }

Property Value

string

SerializableProxyKind

Gets the type of proxy as a string for JSON serialization.

public string SerializableProxyKind { get; }

Property Value

string

SocksPassword

Gets or sets the value of password for the SOCKS proxy.

public string SocksPassword { get; set; }

Property Value

string

SocksProxy

Gets or sets the value of the proxy for the SOCKS protocol.

public string SocksProxy { get; set; }

Property Value

string

SocksUserName

Gets or sets the value of username for the SOCKS proxy.

public string SocksUserName { get; set; }

Property Value

string

SslProxy

Gets or sets the value of the proxy for the SSL protocol.

public string SslProxy { get; set; }

Property Value

string