We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1374b33 commit 8adb0f2Copy full SHA for 8adb0f2
java/client/src/org/openqa/selenium/firefox/FirefoxDriver.java
@@ -56,9 +56,12 @@
56
* {@link FirefoxOptions}, like so:
57
*
58
* <pre>
59
- *FirefoxOptions options = new FirefoxOptions()
60
- * .setProfile(new FirefoxProfile());
61
- *WebDriver driver = new FirefoxDriver(options);
+ * FirefoxOptions options = new FirefoxOptions()
+ * .addPreference("browser.startup.page", 1)
+ * .addPreference("browser.startup.homepage", "https://www.google.co.uk")
62
+ * .setAcceptInsecureCerts(true)
63
+ * .setHeadless(true);
64
+ * WebDriver driver = new FirefoxDriver(options);
65
* </pre>
66
*/
67
public class FirefoxDriver extends RemoteWebDriver implements WebStorage, HasExtensions {
0 commit comments