SelectElementDeselectByValue Method
Deselect the option having value matching the specified text.

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

instance.DeselectByValue(value)

Parameters

value
Type: SystemString
The value of the option to deselect.
Remarks
When given "foo" this method will deselect an option like:

<option value="foo">Bar</option>

See Also