Katalon Studio Version:
KSE 8.2.5, Build 208
Windows 10 Enterprise (64-bit)
Edge Chromium Version 99.0.1150.30 (Official build) (64-bit)
How to disable ‘Save your info’ dialog in Edge Chromium.
Hello folks,
I am looking to turn off the ‘Save Your Info’ dialog in ‘Edge Chromium’ using Desired Capabilities:
I have added the following DCs to my Edge Chrome DC settings, ‘Private Mode’ works but the ‘Save your info’ dialog still displays. Can someone please point me to a possible solution.
Just to let you know, Dave, I gave fifteen minutes to searching the web for a list of prefs for Edge – then gave up. It’s out there somewhere, but I failed
Hey Dave, apologies on the late response. Finally got some time to look a this a little closer.
According to these posts, this is not currently supported by default by Microsoft, whom actually manage EdgeDriver (i.e. the problem doesn’t lie in Selenium or Katalon, obviously):
However, I have something you may want to try. Using my post about discovering any desired capability you may want to manage, I discovered a setting in edge that may actually control this alert.
Try adding this to your desired capabilities list as a pref:
If you haven’t read through my Desired Capabilities topic, I’ll give you a tl;dr on how I found this:
1.) Grab a snapshot of my current Edge Preferences file. This can usually be found at C:/Users/{username}/AppData/Local/Microsoft/Edge/User Data/Default/Preferences
2.) Open an Edge browser.
3.) Open Settings > Passwords.
4.) Toggle off the Offer to save passwords setting:
5.) Wait a few seconds, then grab a second snapshot of the Preferences file.
6.) Format both snapshots using a JSON formatter, then put both into a text comparator, and voila, this is the corresponding setting in JSON that gets updated once you toggle that off:
Now, I’m hoping that this setting is what controls the Save your information popup, but I’m not 100% on that. You may need to repeat this process given that there’s some other setting that controls it.
I have tried everything I can think of (including using Brandon’s Preferences file trick (excellent BTW)), but no luck… I will have to circle back to this issue should I ever get any free-time (LOL).
Hi @discover.selenium I am facing a similar challenge where I am getting a pop up of saving login info when I login, I want to disable/bypass that pop up. I feel your suggestion of using the guest mode can help me. I am using the firefox and its a very much controlled environment. Can you please share how can I add the guest mode for firefox as a desired capability ?
I am on KS 8.5.5 and while trying your solution I noticed that I could not set the “type” as “List” in the desired capabilities in Project > Settings > Desired Capabilities > WebUI> Firefox .
@Dave_Evers thanks for your response, I tried this but getting an array out of bound error when I set the type as “Dictionary”. Just added the error log for more details and if you can please suggest on the same.
Hi @yogesh.harsh, maybe give this a try: How to start firefox in private browsing mode?
This works for me, just tried it. Or save the attached firefox.properties file to the C:\Users\yourname\KatalonProjects\YourProject\settings\internal folder. [com.kms.katalon.core.webui.firefox.properties|attachment]