Since Chrome Browser updated to version 127, on Selenium tests runs I get the next dialog open:
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.
You can fix it with the option:
--disable-search-engine-choice-screen
See here how to set options for different programming languages: https://www.selenium.dev/documentation/webdriver/browsers/chrome/
Or in Python:
options.add_argument("--disable-search-engine-choice-screen")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With