Class Proxy
- Namespace
- Microsoft.Playwright
- Assembly
- Microsoft.Playwright.dll
public class Proxy
- Inheritance
-
Proxy
- Inherited Members
Constructors
Proxy()
public Proxy()
Properties
Bypass
Optional comma-separated domains to bypass proxy, for example ".com, chromium.org,
.domain.com"
.
[JsonPropertyName("bypass")]
public string? Bypass { get; set; }
Property Value
Password
Optional password to use if HTTP proxy requires authentication.
[JsonPropertyName("password")]
public string? Password { get; set; }
Property Value
Server
Proxy to be used for all requests. HTTP and SOCKS proxies are supported, for example
http://myproxy.com:3128
or socks5://myproxy.com:3128
. Short form myproxy.com:3128
is considered an HTTP proxy.
[Required]
[JsonPropertyName("server")]
public string Server { get; set; }
Property Value
Username
Optional username to use if HTTP proxy requires authentication.
[JsonPropertyName("username")]
public string? Username { get; set; }