[java] Improving FirefoxDriver javadoc, passing FirefoxProfile instance to the constructor is a bad practice.
*
* <pre>
* FirefoxOptions options = new FirefoxOptions()
- * .setProfile(new FirefoxProfile());
+ * .addPreference("browser.startup.page", 1)
+ * .addPreference("browser.startup.homepage", "https://www.google.co.uk")
+ * .setAcceptInsecureCerts(true)
+ * .setHeadless(true);
* WebDriver driver = new FirefoxDriver(options);
* </pre>
*/
