SelectElementDeselectByText Method |
Deselect the option by the text displayed.
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax Dim instance As SelectElement
Dim text As String
instance.DeselectByText(text)
Parameters
- text
- Type: SystemString
The text of the option to be deselected.
Remarks When given "Bar" this method would deselect an option like:
<option value="foo">Bar</option>
See Also