Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can someone share the complete list of arguments that one can pass in options.addArguments()?

I have used the following based upon issues/requirements faced:

ChromeOptions options = new ChromeOptions();

       1. options.addArguments("--**start-maximized**");
       2.options.addArguments("--**disable-web-security**");
       3. options.addArguments("--**no-proxy-server**");
       4. options.addArguments("--**disable-extensions**");
       5.options.addArguments("--**disable-infobars**");

So i want to know what else arguments we can pass?

like image 250
Indrajit Avatar asked Oct 15 '25 15:10

Indrajit


2 Answers

For the complete list of Chrome Driver arguments, Refer http://www.assertselenium.com/java/list-of-chrome-driver-command-line-arguments/

like image 145
Chandra Shekhar Avatar answered Oct 17 '25 05:10

Chandra Shekhar


Here is the list of commands for chrome https://peter.sh/experiments/chromium-command-line-switches/

like image 33
Indrajit Avatar answered Oct 17 '25 05:10

Indrajit