Hi,
In Chrome or Chrome Headless, in one of the test we’ve got the chrome pop-up «update your password» regarding the «get an alert if a password has been compromised»
I’ve tried everything Internet as to tell me about it, I can’t find a way to configure the desired capabilities in order to disable it.
Suggesions ?
1 Like
Hi there, and thanks for posting in the Katalon community! 
To help you faster, please review our guide on Chrome Headless here:
Double-checking the steps and configurations might resolve the issue.
If the doc doesn’t help, feel free to provide more details, and a community member will assist you soon.
Thanks for being a part of our community!
Best,
Elly Tran
After many trials and errors, the answer is - please give me a drumroll-
--disable-features=SafeBrowsing,PasswordLeakToggleMove
I had to guess the feature name PasswordLeakToggleMove from chrome://flags/
(Chrome Version 135.0.7049.42)
This just became a problem for me this week. I HAVE this disabled in my regular chrome browser settings. It is only a problem when Katalon is controlling the browser. I don’t want to run headless, as part of my testing is to test the GUI. Why can’t Katalon just replicate the settings for Chrome on my PC in the chromedriver that it uses?
In Katalon, you can use args for non-headless Chrome
--disable-features=SafeBrowsing,PasswordLeakToggleMove
Understood, but that has not solved the issue for me. The Password Leak Detection dialog still appears and interrupts the running of the rest of the script.
It’s unfortunate. I’m on Katalon 10.1.1, Windows 10, Chrome Version 135.0.7049.84 (Build officiel) (64 bits). Here’s the args I’m using :
Just to be sure I’ve removed them, and the pop-up is back, so it works for me now.
I think this might help you! Pasting the code in the tab Script and Run!
import com.kms.katalon.core.configuration.RunConfiguration as RunConfiguration
RunConfiguration.setWebDriverPreferencesProperty('args', ['--disable-features=SafeBrowsing,PasswordLeakToggleMove'])
I am using the free Version 9.7.5 and have the same issue. Nonetheless, I find the solution by combining other guide and with the above answer of Mr. Frederic_Canovas1. Thank you!
2 Likes
Try this
ChromeOptions options = new ChromeOptions()
Map<String, Object> prefs = new HashMap<>()
prefs.put("credentials_enable_service", false)
prefs.put("profile.password_manager_enabled", false)
options.setExperimentalOption("prefs", prefs)
options.addArguments("--disable-features=AutofillServerCommunication")
options.addArguments("--disable-features=PasswordManagerOnboarding")
options.addArguments("--disable-popup-blocking")
DesiredCapabilities capabilities = new DesiredCapabilities()
capabilities.setCapability(ChromeOptions.CAPABILITY, options)
WebDriver driver = new ChromeDriver(options)
DriverFactory.changeWebDriver(driver)