You can always use a profile called default , which is used by the user by default. There you will have all your cookies, plugins, etc., and you can use it without complications using
System.setProperty("webdriver.firefox.profile", "default");
before creating webdriver
WebDriver driver = new FirefoxDriver();
to create a new profile that you can execute in firefox -p shell that will show you

and get a new profile, besides the existing default . This will give you all the freedom you want.
EliuX Apr 29 '16 at 16:37 2016-04-29 16:37
source share