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

Parameters

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

Reference