Table of Contents

Property ChromiumSwitches

Namespace
DotNetBrowser.Engine
Assembly
DotNetBrowser.dll

ChromiumSwitches

Gets an immutable collection of the Chromium switches that will be passed to the Chromium Main process.

public IEnumerable<string> ChromiumSwitches { get; }

Property Value

IEnumerable<string>

An immutable collection of the Chromium switches that will be passed to the Chromium Main process.

Remarks

The library does not support all the possible Chromium switches, so there is no guarantee that the passed switches will work. The switches from this list will overwrite the corresponding options configured through the EngineOptions.Builder.

For example, if you configure the remote debugging port using theRemoteDebuggingPort property and then add the --remote-debugging-port switch using the ChromiumSwitches property, then the port from the switch will be used.