Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Cyber Security
  3. Question
Cyber Security

Can I remove this notification - Chrome is being controlled by automated test software?

Asked by Alison Kelly Apr 22, 2022 1.9K views 1 answer
Share

About this question

I have just updated my project with the latest chrome driver (2.28). When I run the browser through the driver, a yellow notification pops under the URL bar, saying "Chrome is being controlled by automated test software". Is there any way to configure Chrome not to show this notification? I used this code to start the driver:

    ChromeOptions cOptions = new ChromeOptions();
    cOptions.addArguments("test-type");
    cOptions.addArguments("start-maximised");
    cOptions.addArguments("--js-flags=--expose-gc");  
    cOptions.addArguments("--enable-precise-memory-info"); 
    cOptions.addArguments("--disable-popup-blocking");
    cOptions.addArguments("--disable-default-apps"); 
    driver = new ChromeDriver(cOptions);

Your answer

1 Answer

More Cyber Security discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Cyber Security Blogs

Guides, tips and career advice on Cyber Security from JanBask experts.