Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

We are working selenium web driver 2.53 and C# code.i need to disable the developer extension mode all browser in opened in selenium web driver.
please help us to solve this.
Thank you

What I have tried:

ChromeOptions options = new ChromeOptions();
options.AddArguments("--disable-extensions","--disable-autofill-keyboard-accessory-view", "test-type");
driver = new ChromeDriver(@"Path\IEDriverServer",options);
driver.Navigate().GoToUrl(strURL);
Posted
Comments
David_Wimbley 5-Feb-18 12:54pm    
If you are using selenium why do you need to disabled developer mode? While selenium is running, unless you want to crash the test, you can't touch it anyways.

What issue is it that you think developer mode is causing that you need to disable it?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900