Open GoogleCodeExporter opened 9 years ago
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 comment by k...@censhare.de
on 20 Feb 2015 at 9:27
Original issue reported on code.google.com by
xaviergi...@gmail.com
on 16 Feb 2015 at 3:50