Click or drag to resize

EngineOptionsBuilderChromiumSwitches Property

Gets a set of the Chromium switches that will be passed to the Chromium Main process.

Namespace:  DotNetBrowser.Engine
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.24.2
Syntax
C#
public HashSet<string> ChromiumSwitches { get; }

Property Value

Type: HashSetString
A set 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 EngineOptionsBuilder.

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.

See Also