[]
Represents options for launching the browser.
public class LaunchOptions
Public Class LaunchOptions
Name | Description |
---|---|
LaunchOptions() |
Name | Description |
---|---|
AuthServerAllowlist | Gets or sets a whitelist to passthrough Windows authentication for the specified domains. For example: "*example.com,*foobar.com,*baz". |
DefaultWindowSize | Gets or sets the default window size, in pixels. |
DisablePdfTagging | Gets or sets a value indicating whether to do not emit tags when printing PDFs. Defaults to false. |
DumpToErrorStream | Gets or sets a value indicating whether to pipe browser process stderr into the application process stderr. Defaults to false. |
EnableGpuAcceleration | Gets or sets a value indicating whether GPU acceleration should be enabled. Defaults to false. |
ProxyServer | Gets or sets a proxy server, overrides system settings. Affects HTTP and HTTPS requests only. For example: "https://proxy-ip:proxy-port" or "socks5://127.0.0.1:1080". |
RunWithNoSandbox | Gets or sets whether a sandbox should be disabled to prevent issues on Linux. Use it if you absolutely trust the content you open. Defaults to false. |
TimeoutOptions | Gets or sets the timeout settings for browser operations. If not set, the default setting are used. |
UserDataDir | Gets or sets the directory where the browser stores the user profile. |
WebSocketFactory | Gets or sets the optional factory for WebSocket implementations. |