You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1.Try to find a way to use Chromium command-line switches with JCEF
What is the expected output? What do you see instead?
I would expect a code snip with a basic example, instead, all documentation
refers to CEF and has no examples, just lists of compatible commands and so...
What version of the product are you using? On what operating system?
Version 3, Windows
Please provide any additional information below.
I posted a question here as well:
http://stackoverflow.com/questions/28544562/java-chromium-embedded-framework-jce
f-usage-of-chromium-command-lines
Original issue reported on code.google.com by [email protected] on 16 Feb 2015 at 3:50
The text was updated successfully, but these errors were encountered:
This is an issue board. You can post your questions regarding JCEF here:
http://www.magpcss.org/ceforum/viewforum.php?f=17&sid=f61b0bfb407ff4c95829ca67f3
0914cd
Anyway, to forward CEF and/or chromium command-line switches to CEF, just pass
over an array of Strings to CefApp at startup. Example:
public static void main(String [] args) {
[...]
ArrayList<String> mySwitches = new ArrayList<>();
mySwitches.add("--persist-session-cookies=true");
CefApp app = CefApp.getInstance(mySwitches.toArray(new String[mySwitches.size()]));
CefClient client = app.createClient();
CefBrowser browser = client.createBrowser("http://www.google.com", false, false);
[...]
}
Regards,
Kai
Original issue reported on code.google.com by
[email protected]
on 16 Feb 2015 at 3:50The text was updated successfully, but these errors were encountered: