question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi how do I configure CefSettings in the current version?

Before I configured it like this:

PandomiumSettings settings = PandomiumSettings.getDefaultSettingsBuilder().build();
settings.getCefSettings().cache_path = "cacheChrome";
settings.getCefSettings().persist_session_cookies = true;
settings.getCefSettings().command_line_args_disabled = false;
settings.getCefSettings().log_file = "logs/Chrome.log";
settings.getCefSettings().log_severity = CefSettings.LogSeverity.LOGSEVERITY_INFO;
settings.getCefSettings().locale = "en-us";
settings.getCefSettings().remote_debugging_port = 7070;
Pandomium pandomium = new Pandomium(settings);

In this new version I configured it like this:

Pandomium pandomium = Pandomium.buildDefault();
pandomium.getCefSettings().cache_path = "cacheChrome";
pandomium.getCefSettings().persist_session_cookies = true;
pandomium.getCefSettings().command_line_args_disabled = false;
pandomium.getCefSettings().log_file = "logs/Chrome.log";
pandomium.getCefSettings().log_severity = CefSettings.LogSeverity.LOGSEVERITY_INFO;
pandomium.getCefSettings().locale = "en-us";
pandomium.getCefSettings().remote_debugging_port = 7070;

It seems that it is working, for example it is not creating the log file.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fredwilliamtjrcommented, Dec 9, 2021

Updated and working perfectly!

Thanks!

0reactions
dzikoyskcommented, Dec 9, 2021

Should be released as soon as https://github.com/dzikoysk/pandomium/actions/runs/1559638591 finishes the task 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

CefSettings Class - CefSharp
The CefSettings type exposes the following members. Constructors. Name, Description. Public method, CefSettings. Default Constructor. Top.
Read more >
CEF C++ API Docs - Revision 1123: CefSettings
Class representing initialization settings. Details. CefSettings. public typedef CefStructBase< CefSettingsTraits > CefSettings; ...
Read more >
java-cef/CefSettings.java at master - GitHub
A simple framework for embedding Chromium-based browsers in other applications using the Java programming language. - java-cef/CefSettings.java at master ...
Read more >
CefSharp\\Cache - Gitter
Thank you! CefSettings settings = new CefSettings(); settings.CachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) ...
Read more >
Initialization is always failed. No exception is showing
Copy the Libcef.dll , locals folder, cef.pak file to the debug folder. ... return; // FMT: throw exception?? ... CefRuntime.Initialize(mainArgs, cefSettings, app); ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found