Click or drag to resize

EngineOptionsChromiumSwitches Property

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

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

Property Value

Type: IEnumerableString
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 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