I hope you are all having a good day.
I have been trying to disable the password manager bubble for the last 3 days now without any luck. The reeason why I want to disable it is because its interfeering with my selenium automation even though it's not supposed to. But since I don't need password manager for my automation I would like to disable it completely.
What I have tried so far
Below is a list with all the flags I could find related to password manager. Even after adding all of them it still shows the password manager.
'--credentials_enable_service=false '
'--profile.password_manager_enabled=false '
'--disable-save-password-bubble '
'--disable-fill-on-account-select '
'--fill-on-account-select=false '
'--username-first-flow-with-intermediate-values=false '
'--enable-show-autofill-signatures=false '
'--skip-undecryptable-passwords=false '
'--force-password-initial-sync-when-decryption-fails=false '
'--fill-on-account-select=false '
'--filling-across-grouped-sites=false '
'--ios-promo-password-bubble=false '
'--password-generation-experiment=false '
'--revamped-password-management-bubble=false '
'--passwords-import-m2=false '
'--forgot-password-form-support=false '
'--password-store=basic'
I have also looked at other similar questions in stackoverflow but they seem to be outdated with the new Chrome updates since all the flags that used to work are not even available anymore in Chrome.
chrome_opt = webdriver.ChromeOptions()
prefs = {
"credentials_enable_service": False,
"profile.password_manager_enabled": False
}
chrome_opt.add_experimental_option("prefs", prefs)
driver = webdriver.Chrome(chrome_options=chrome_opt, executable_path=r'C:\chrome_path.exe')
I have also found a solution that inlolves modifying some values Window registry of Chrome that disables password manager completely but that's not optimal because it will also disable the password manager from my normal Chrome build.
Thanks everyone for your time :)
PS: Don't give me the: "This have been answered before." I have tried everything and nothing works anymore. I am looking for an up to date solution.

If none of the options you tried above work for you, use
--guestmode:If you try going to chrome://password-manager/passwords in Guest Mode, you'll see: "Password Manager is not available to Guest users".