FirefoxOptionsSetPreference Method (String, Int32)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,
	int preferenceValue
)

Parameters

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

Reference