I am using chromedriver with PowerShell to automate chrome.
I have trouble with the recent search-engine selection popup.
The proposed solution ist to add the option
--disable-search-engine-choice-screen
but that does not work for me. I am already adding various options, and they do work as expected, so the code works in general.
Code snippet:
$ChromeOptions = New-Object OpenQA.Selenium.Chrome.ChromeOptions
$ChromeOptions.AddArguments(@(
"--disable-extensions",
"--disable-notifications",
"--disable-blink-features=AutomationControlled",
"--disable-search-engine-choice-screen"
))
$ChromeOptions.AddUserProfilePreference("credentials_enable_service", $false)
$ChromeOptions.AddUserProfilePreference("profile.password_manager_enabled", $false)
But this last option does not.
Anyone has an idea why this is the case?