Class FirefoxOptions

All Implemented Interfaces:
Serializable, Capabilities

public class FirefoxOptions extends AbstractDriverOptions<FirefoxOptions>
Manage firefox specific settings in a way that geckodriver can understand.

An example of usage:

    FirefoxOptions options = new FirefoxOptions()
      .addPreference("browser.startup.page", 1)
      .addPreference("browser.startup.homepage", "https://www.google.co.uk");
    WebDriver driver = new FirefoxDriver(options);
 
See Also: