Open GoogleCodeExporter opened 8 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
JCEF is transitioning from Google Code to Bitbucket project hosting. If you
would like to continue receiving notifications on this issue please add
yourself as a Watcher at the new location:
https://bitbucket.org/chromiumembedded/java-cef/issue/154
Original comment by magreenb...@gmail.com
on 18 Mar 2015 at 6:02
Original issue reported on code.google.com by
xaviergi...@gmail.com
on 16 Feb 2015 at 3:50