0 votes
1 view
in Devops and Agile by (19.8k points)

I'm having the following issue: When I'm running my automation tests, I keep getting the following alert "Disable Developer Mode Extension" in Chrome.

enter image description here

Is there a way to remove/disable this?. It is a blocker for me as it is making me fail some tests.

Thanks in advance

1 Answer

0 votes
by (63.4k points)

Create an object of ChromeOptions class

ChromeOptions options = new ChromeOptions();

 Add a parameter which will disable the extension


 Start the chrome session

WebDriver driver = new ChromeDriver(options);

Hope this helps!

Welcome to Intellipaat Community. Get your technical queries answered by top developers !