Disable notification" “Chrome is being controlled by automated test software” in ChromeDriver 2.36

0 votes

After updating ChromeDriver to newest version - 2.36. In previous versions I've set:

    ChromeOptions options = new ChromeOptions();
    options.addArguments("disable-infobars");

and "Chrome is being controlled by automated test software" warning bar wasn't visible. Inspite of setting it, I keep seeing it in this version. How do I disable this from appearing in the newest ChromeDriver? Thanks in advance

Mar 26, 2018 in Selenium by nitinrawat895
• 9,030 points
681 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

"disable-infobars" flag has been deprecated, but you can avoid this message by adding the following:

ChromeOptions options = new ChromeOptions();
options.setExperimentalOption("useAutomationExtension", false);
options.setExperimentalOption("excludeSwitches",Collections.singletonList("enable-automation"));    
WebDriver driver = new ChromeDriver(options);

This work for me and I hope works for you too.

answered Mar 26, 2018 by nsv999
• 5,030 points

Related Questions In Selenium

0 votes
1 answer
0 votes
1 answer

Selenium grid 2 in chrome browser

The problem is in -Dwebdriver arguments. Maybe you should do ...READ MORE

answered Apr 27, 2018 in Selenium by Samarpit
• 5,130 points
173 views
0 votes
1 answer

Test in parallel with selenium grid 2

You have to register one more node ...READ MORE

answered Apr 27, 2018 in Selenium by anonymous
25 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,030 points
56 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
420 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
43 views
0 votes
1 answer

Can anyone help me that how to run Selenium WebDriver test cases in Chrome?

Download the executable driver from: ChromeDriver Download Before ...READ MORE

answered Mar 29, 2018 in Selenium by nsv999
• 5,030 points
116 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.