When we write something like this:
FirefoxProfile ffprofile = new FirefoxProfile(new File(\"D:\\\\Selenium\"));
Does it mean we are creatin
Here is how I do by selenium 3 with geckodriver:
Use firefox command line interface to create profile
firefox.exe -CreateProfile "profile_name profile_dir" (In java, execute this runtime by Runtime.getRuntime().exec function)
Set -profile argument in firefox options
FirefoxOptions options = new FirefoxOptions();
options.addArguments("-profile", );
driver = new FirefoxDriver(options);