WebDriverSetPreference Method
Set a specific preference for the firefox webdriver

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As WebDriver
Dim key As String
Dim value As Object

instance.SetPreference(key, value)

Parameters

key
Type: SystemString
Preference key
value
Type: SystemObject
Preference value
See Also