class Playwright::BrowserType::LaunchOptions::Proxy

Included Modules

Defined in:

playwright/browsertype.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(server : String, bypass : Nil | String = nil, username : Nil | String = nil, password : Nil | String = nil) #

[View source]

Instance Method Detail

def bypass : String | Nil #

Optional coma-separated domains to bypass proxy, for example ".com, chromium.org, .domain.com".


[View source]
def bypass=(bypass : String | Nil) #

Optional coma-separated domains to bypass proxy, for example ".com, chromium.org, .domain.com".


[View source]
def password : String | Nil #

Optional password to use if HTTP proxy requires authentication.


[View source]
def password=(password : String | Nil) #

Optional password to use if HTTP proxy requires authentication.


[View source]
def server : String #

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.


[View source]
def server=(server : String) #

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.


[View source]
def username : String | Nil #

Optional username to use if HTTP proxy requires authentication.


[View source]
def username=(username : String | Nil) #

Optional username to use if HTTP proxy requires authentication.


[View source]