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

I've been researching this extensively, but I have yet to even find a single topic about this specific question. I use python to access Selenium Webdriver and have been disabling the extensions through python using the code

chrome_options.add_argument("--disable-extensions")

Recently, though, I've wanted to load a custom profile, and that means custom extensions. Is there a way to get rid of ONLY the automation extension?

enter image description here

ALSO, as a follow-up curiosity, what even makes the chrome browser automatically start out with this extension loaded?

Thanks!

1 Answer

0 votes
by (58.7k points)

You can disable the Chrome Automation Extension by adding an experimental option to ChromeOptions like so:

ChromeOptions options = new ChromeOptions

();

options.setExperimentalOption("useAutomationExtension", false);

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


Categories

...