File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
java/client/src/org/openqa/selenium/firefox Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 37
37
import java .util .List ;
38
38
import java .util .Map ;
39
39
40
+
41
+ /**
42
+ * Manage firefox specific settings in a way that geckodriver can understand. Use {@link
43
+ * #addTo(DesiredCapabilities)} to also add settings to a {@link DesiredCapabilities} object.
44
+ * <p>
45
+ * An example of usage:
46
+ * <pre>
47
+ * DesiredCapabilities caps = new FirefoxOptions()
48
+ * .addPreference("browser.startup.page", 1)
49
+ * .addPreference("browser.startup.homepage", "https://www.google.co.uk")
50
+ * .addTo(DesiredCapabilities.firefox());
51
+ * WebDriver driver = new FirefoxDriver(caps);
52
+ * </pre>
53
+ */
40
54
public class FirefoxOptions {
41
55
42
56
private String binary ;
You can’t perform that action at this time.
0 commit comments