# Not able to turnoff Google Password Manager

**URL:** <https://forum.katalon.com/t/not-able-to-turnoff-google-password-manager/171134>\
**Category:** Miscellaneous\
**Created:** [April 14, 2025, 2:44am UTC](https://forum.katalon.com/t/not-able-to-turnoff-google-password-manager/171134 "2025-04-14T02:44:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramesh.nistala1](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ramesh.nistala1/32/30227_2.png) [@ramesh.nistala1](https://forum.katalon.com/u/ramesh.nistala1)\
**Post date:** [April 14, 2025, 2:44am UTC](https://forum.katalon.com/t/not-able-to-turnoff-google-password-manager/171134/1 "2025-04-14T02:44:49Z")

</div>

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

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/5/8/58dfad2ab665e2d58793a70cebd99dd61aef4de0.png)

---

<div class="post-metadata">

**Author:** ![dineshh](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dineshh/32/24488_2.png) [@dineshh](https://forum.katalon.com/u/dineshh)\
**Post date:** [April 14, 2025, 5:49am UTC](https://forum.katalon.com/t/not-able-to-turnoff-google-password-manager/171134/2 "2025-04-14T05:49:49Z")

</div>

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

```auto
'--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

```auto
'--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

```auto
'--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

```auto
WebUI.click(findTestObject('ObjectRepository/PasswordManagerDismissButton'))

```

- Locate the dismiss button using Katalon’s Spy Web utility and create a test object.

## **Sample Code Snippet**

groovy

```auto
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

---

<div class="post-metadata">

**Author:** ![ramesh.nistala1](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ramesh.nistala1/32/30227_2.png) [@ramesh.nistala1](https://forum.katalon.com/u/ramesh.nistala1)\
**Post date:** [April 22, 2025, 7:19am UTC](https://forum.katalon.com/t/not-able-to-turnoff-google-password-manager/171134/3 "2025-04-22T07:19:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dineshh](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dineshh/32/24488_2.png) [@dineshh](https://forum.katalon.com/u/dineshh)\
**Post date:** [April 23, 2025, 6:07am UTC](https://forum.katalon.com/t/not-able-to-turnoff-google-password-manager/171134/4 "2025-04-23T06:07:35Z")

</div>

To resolve the conflict where adding `excludeSwitches` or other settings re-triggers password popups while addressing the **“Chrome is managed by…”** notification, use the following optimized **ChromeOptions** configuration in Katalon Studio:

## **Solution: Combine All Necessary ChromeOptions**

Configure your **Desired Capabilities** in Katalon Studio as follows:

## **1. Disable Automation Infobar & Password Popups**

```auto
Map<String, Object> chromePrefs = new HashMap<>();
chromePrefs.put("credentials_enable_service", false);
chromePrefs.put("profile.password_manager_enabled", false);

List<String> excludeSwitches = new ArrayList<>();
excludeSwitches.add("enable-automation"); // Hides "controlled by automation" infobar
excludeSwitches.add("load-extension"); // Optional: Disables extensions interfering

ChromeOptions options = new ChromeOptions();
options.setExperimentalOption("prefs", chromePrefs);
options.setExperimentalOption("excludeSwitches", excludeSwitches);
options.addArguments(
  "--disable-infobars",
  "--disable-notifications",
  "--disable-features=ChromeManagement,EnterprisePolicy", // Suppress "managed" notifications
  "--disable-component-update" // Prevents Chrome from checking for policies
);

// Add to Katalon's Desired Capabilities
WebUI.openBrowser('', [], options);

```

## **Why This Works**

- **`excludeSwitches`: `enable-automation`** hides the test automation infobar without breaking other settings.
- **Prefs** : Disables password manager prompts.
- **Arguments** :
  - `--disable-features=ChromeManagement,EnterprisePolicy` suppresses enterprise policy messages (e.g., “managed by”).
  - `--disable-component-update` stops Chrome from checking for updates/policies.

## **Key Notes**

1. **ChromeDriver Compatibility** :  
Ensure your ChromeDriver version matches your Chrome browser (check [ChromeDriver downloads](https://chromedriver.chromium.org/)).
2. **Katalon Configuration** :  
In **Profiles \> Desired Capabilities** , use the code snippet above in a **Custom Script** or translate it to key-value pairs:

- **Prefs** : `{"credentials_enable_service": false, "profile.password_manager_enabled": false}`
- **Exclude Switches** : `["enable-automation", "load-extension"]`
- **Arguments** : Add each `--disable-*` argument separately.

---

<div class="post-metadata">

**Author:** ![ramesh.nistala1](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ramesh.nistala1/32/30227_2.png) [@ramesh.nistala1](https://forum.katalon.com/u/ramesh.nistala1)\
**Post date:** [May 23, 2025, 12:24pm UTC](https://forum.katalon.com/t/not-able-to-turnoff-google-password-manager/171134/5 "2025-05-23T12:24:56Z")

</div>

Instead of adding everything in the code, can’t this be achieved in Katalon project settings?  
Since the conflict is with “Stopping info bar” and “Password Manager”. Not able to stop both from settings.
