class Playwright::BrowserType::LaunchOptions::Proxy
- Playwright::BrowserType::LaunchOptions::Proxy
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
playwright/browsertype.crConstructors
- .new(pull : JSON::PullParser)
- .new(server : String, bypass : Nil | String = nil, username : Nil | String = nil, password : Nil | String = nil)
Instance Method Summary
-
#bypass : String | Nil
Optional coma-separated domains to bypass proxy, for example
".com, chromium.org, .domain.com"
. -
#bypass=(bypass : String | Nil)
Optional coma-separated domains to bypass proxy, for example
".com, chromium.org, .domain.com"
. -
#password : String | Nil
Optional password to use if HTTP proxy requires authentication.
-
#password=(password : String | Nil)
Optional password to use if HTTP proxy requires authentication.
-
#server : String
Proxy to be used for all requests.
-
#server=(server : String)
Proxy to be used for all requests.
-
#username : String | Nil
Optional username to use if HTTP proxy requires authentication.
-
#username=(username : String | Nil)
Optional username to use if HTTP proxy requires authentication.
Constructor Detail
Instance Method Detail
Optional coma-separated domains to bypass proxy, for example ".com, chromium.org, .domain.com"
.
Optional coma-separated domains to bypass proxy, for example ".com, chromium.org, .domain.com"
.
Optional password to use if HTTP proxy requires authentication.
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.
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.
Optional username to use if HTTP proxy requires authentication.