Replies: 2 comments 1 reply
-
After some more investigation I have found that this issue does not happen when I don't set the RuntimeStyle to Chrome: I had set the RuntimeStyle to Chrome some time ago to fix another issue where an alert wasn't popping up. |
Beta Was this translation helpful? Give feedback.
-
This is not a valid command line argument.
A quick search suggests this is likely correctly preference to use. https://magpcss.org/ceforum/viewtopic.php?f=6&t=18608 When you set the preference would be very important though. Calling this after the browser has been created is unlikely to work. In future please use Discussions to ask support questions. Just because you haven't gotten something working doesn't mean it's a bug. The password manager is entirely implemented in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an existing issue for this?
CefSharp Version
133.4.21
Operating System
Windows 11
Architecture
x64
.Net Version
4.8
Implementation
WinForms
Reproduction Steps
I am using CEFSharp in a .NET 4.8.0 WinForms project. I am unable to disable the CEF Password Manager. I have a page with a login, and I don't want the CEF Password Manager prompt the user to save the password.
I have tried setting:
cefSettings.CefCommandLineArgs.Add("enable-password-manager", "0");
and also:
requestContext.SetPreference("credentials_enable_service", false, out string error);
But neither of these worked.
Is there a workaround for this issue?
Expected behavior
The CEF Password Manager should be disabled and not appear prompting the user to save log-in details when they log-in on a web page.
Actual behavior
The CEF Password Manager is not disabled and does appear prompting the user to save log-in details when they log-in on a web page.
Regression?
I never disabled it in when I first used CEFSharp, but it never showed. Now it shows and I can't disable it.
Known Workarounds
I have not found a workaround, but I do need one.
Does this problem also occur in the CEF Sample Application
No
Other information
If I just run the cefclient.exe using the exe name with no cmd args, the issue does happen:
If I run it with the cmd args the issue does not happen:
Beta Was this translation helpful? Give feedback.
All reactions