Help me please, Cefsharp Settings. #3349
Unanswered
KairoMartins18
asked this question in
Q&A
Replies: 1 comment
-
For background please read https://github.com/cefsharp/CefSharp/wiki/General-Usage#initialize-and-shutdown As the exception says you can only call Cef.Initialize once, if you are attempting to change the user agent multiple times then you need to use a different method. Make sure Cef.Initialize is called before you create your first ChromiumWebBrowser instance. If you require further assistance then please provide a clear description of what you are trying to achieve and a detailed example of your code. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
the error happens in the line Cef.Initialize (settings);
error!! CEF can only be initialized once per process. This is a limitation of the underlying CEF/Chromium framework. You can change many (not all) settings at runtime through RequestContext.SetPreference. See https://github.com/cefsharp/CefSharp/wiki/General-Usage#request-context-browser-isolation
if you need any information on what I'm trying to do:here
Beta Was this translation helpful? Give feedback.
All reactions