Google Chrome – How to Get Rid of ‘Choose Your Search Engine’ Dialog in Chrome v.127 on Selenium Test Run

google-chromeselenium-chromedriverselenium-webdriver

Since Chrome Browser updated to version 127, on Selenium tests runs I get the next dialog open:

enter image description here

How to get rid of it using C#?
Do I need to make some options on driver start?
I've already chosen it in my browser and it doesn't appear anymore. But for tests in happens on each run.

Best Answer

you can fix it with:

options.AddArguments("--disable-search-engine-choice-screen");

Related Question