FirefoxOptionsSetPreference Method (String, Double)WebDriver
Sets a preference in the profile used by Firefox.

Namespace: OpenQA.Selenium.Firefox
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public void SetPreference(
	string preferenceName,
	double preferenceValue
)

Parameters

preferenceName
Type: SystemString
Name of the preference to set.
preferenceValue
Type: SystemDouble
Value of the preference to set.
See Also

Reference