A chromium browser window opening when start the CEFSharp...? #4859
-
This window open in my program when I start the CEFSharp, currently Starting with this settings: var CefSettings = new CefSettings()
{
BrowserSubprocessPath = Program.BrowserSubprocessPath,
LogSeverity = LogSeverity.Verbose,
WindowlessRenderingEnabled = true,
ChromeRuntime = true,
UserAgent = Settings.UserAgent
};
CefSettings.CefCommandLineArgs.Add("user-agent", Settings.UserAgent);
CefSettings.CefCommandLineArgs.Add("isolate-origins", "https://accounts.google.com,https://chrome.google.com,https://chromewebstore.google.com,https://mail.google.com,https://www.google.com,https://google.com");
CefSettings.RegisterScheme(new CefCustomScheme()
{
SchemeName = LocalSchemeFactory.SchemeName,
SchemeHandlerFactory = new LocalSchemeFactory()
});
Cef.Initialize(CefSettings, false, browserProcessHandler: null); And my program just crahes after try use the CEF post initialization. CEFSharp version: 126.2.70.0 |
Beta Was this translation helpful? Give feedback.
Answered by
amaitland
Jul 5, 2024
Replies: 1 comment 1 reply
-
See #4855
You need to check the result of Set your own |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
marcussacana
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #4855
You need to check the result of
Cef.Initialize
, it's likely returningfalse
.Set your own
CachePath
.