SelectElementDeselectByValue Method |
Deselect the option having value matching the specified text.
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
SyntaxDim instance As SelectElement
Dim value As String
instance.DeselectByValue(value)
Parameters
- value
- Type: SystemString
The value of the option to deselect.
RemarksWhen given "foo" this method will deselect an option like:
<option value="foo">Bar</option>
See Also