11

I came across a problem while running Selenium tests. One of the SO answers suggested to disable Chrome Automation Extension using useAutomationExtension -

options.setExperimentalOption("useAutomationExtension", false);

I want to understand what exactly useAutomationExtension is. So I'll be able to figure out what impact it will have on tests and decide if to disable or not.

Alpha
  • 13,320
  • 27
  • 96
  • 163
  • Probably [this](https://docs.google.com/document/d/1Q0kuHgU1d-sj8gePjEU9nHtlQzz5rNvvGH8fCJ3iBq4/edit). – wOxxOm Jan 24 '20 at 09:30
  • Does [this story](https://stackoverflow.com/questions/57298901/unable-to-hide-chrome-is-being-controlled-by-automated-software-infobar-within/57317146#57317146) addresses your concern? – undetected Selenium Jan 24 '20 at 10:52

1 Answers1

3

The useAutomationExtension: false option disables the driver to install other chrome extensions, such as CaptureScreenshot and others.

Arun Augustine
  • 1,690
  • 1
  • 13
  • 20