Not able to turnoff Google Password Manager

Even thought we give Project Settings as per the message the Google password manager pops up

1 Like

To prevent Google Password Manager from popping up during Katalon Studio test executions, follow these structured steps:

1. Configure ChromeOptions in Katalon Studio

  • Add Chrome Arguments: Include these flags in your desired capabilities to disable password-related prompts:

groovy

'--password-store=basic', '--disable-save-password-bubble'
  • In Katalon:
    • Navigate to Project Settings > Execution > Default WebUI.
    • Under Web Driver > Chrome, add the arguments in the Arguments field as comma-separated values.

2. Use a Dedicated Chrome Profile

  • Create a New Profile:
    1. Open Chrome manually, go to chrome://settings/manageProfile and create a new profile (e.g., “KatalonProfile”).
      2 Disable Offer to save passwords in chrome://settings/passwords.
  • Launch Katalon with the Profile:
    • Add the user directory argument to ChromeOptions:

groovy

'--user-data-dir=C:/Path/To/KatalonProfile'
  • Replace the path with the actual directory of your new Chrome profile.

3. Disable Password Manager in Chrome Settings

  • Manually open Chrome and navigate to chrome://settings/passwords.
  • Toggle off Offer to save passwords and Auto Sign-in.

4. Utilize Guest/Incognito Mode

  • Add these arguments to ChromeOptions:

groovy

'--incognito', '--guest'

5. Check for Chrome Enterprise Policies

  • If in a managed environment, ensure no policies enforce password saving. Check chrome://policy for active policies.

6. Update Software

  • Ensure both Chrome and Katalon Studio are updated to the latest versions to avoid compatibility issues.

7. Automate Popup Dismissal (Fallback)

  • If popups persist, use Katalon’s WebUI methods to handle them:

groovy

WebUI.click(findTestObject('ObjectRepository/PasswordManagerDismissButton'))
  • Locate the dismiss button using Katalon’s Spy Web utility and create a test object.

Sample Code Snippet

groovy

ChromeOptions chromeOptions = new ChromeOptions()
chromeOptions.addArguments('--disable-save-password-bubble', '--password-store=basic', '--incognito', '--user-data-dir=C:/ChromeTestProfile')

WebUI.openBrowser('', chromedriverPath, chromeOptions)

Verification

  • Manually launch Chrome with the same arguments to confirm the popup is suppressed. If successful, the issue likely lies in Katalon’s configuration not applying settings correctly

This settings work fine when only to stop password related popups. When any other settings added Ex: excludeSwitches, List, enable-automation then again password popup appears. Is there any way to solve this Issue? Since i want to disable “Chrome is managed managed by…” notification