Where can I find a list of all available ChromeOption arguments?

C#Selenium Chromedriver

C# Problem Overview


I am a big advocate for reading the manual. But in this case, despite searching online for some time I cannot find a manual explaining all of the available ChromeOptions arguments. Somewhere there must be a listing of all of the string arguments and what they mean.

For example, here are some that I found by stumbling through examples:

var options = new ChromeOptions();
options.AddArgument("incognito");
options.AddArguments("test-type");

Can someone please direct me to a listing? I am using C# 4.6, Selenium 2.45.

C# Solutions


Solution 1 - C#

Solution 2 - C#

This is the one I use: http://peter.sh/experiments/chromium-command-line-switches/

var options = new ChromeOptions();
options.AddArgument("--start-maximized");
options.AddArgument("--ignore-certificate-errors");
options.AddArgument("--disable-popup-blocking");
options.AddArgument("--incognito");

and so forth :)

Solution 3 - C#

Here is an answer about how to use the ChromeOptions used:

ChromeOptions options = new ChromeOptions();
options.addArguments("test-type");
options.addArguments("start-maximized");
options.addArguments("--window-size=1920,1080");
options.addArguments("--enable-precise-memory-info");
options.addArguments("--disable-popup-blocking");
options.addArguments("--disable-default-apps");
options.addArguments("test-type=browser");

Solution 4 - C#

I believe this should be like this:

  1. Try to eliminate the "--"

  2. options > option

  3. Capitalize "A" in "Add"

  4. Arguments > Argument

    ChromeOptions option = new ChromeOptions();

    option.AddArgument("test-type");

    option.AddArgument("start-maximized");

    option.AddArgument("window-size=1920,1080");

    option.AddArgument("enable-precise-memory-info");

    option.AddArgument("disable-popup-blocking");

    option.AddArgument("disable-default-apps");

    option.AddArgument("test-type=browser");

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionsapbucketView Question on Stackoverflow
Solution 1 - C#Florent B.View Answer on Stackoverflow
Solution 2 - C#Moe GhafariView Answer on Stackoverflow
Solution 3 - C#MarcelaView Answer on Stackoverflow
Solution 4 - C#Donna EsperasView Answer on Stackoverflow