Class FirefoxOptions
Class to manage options specific to FirefoxDriver
public class FirefoxOptions
- Inheritance
-
FirefoxOptions
- Inherited Members
Examples
FirefoxOptions options = new FirefoxOptions();
For use with FirefoxDriver:
FirefoxDriver driver = new FirefoxDriver(options);
For use with RemoteWebDriver:
RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), options.ToCapabilities());
Remarks
Used with the marionette executable wires.exe.
Constructors
FirefoxOptions()
public FirefoxOptions()
Properties
IsMarionette
Gets or sets a value indicating whether or not to use the Mozilla-provided Marionette implementation.
public bool IsMarionette { get; set; }
Property Value
Methods
ToCapabilities()
Returns DesiredCapabilities for Firefox with these options included as capabilities. This does not copy the options. Further changes will be reflected in the returned capabilities.
public ICapabilities ToCapabilities()
Returns
- ICapabilities
The DesiredCapabilities for Firefox with these options.