SelectElement DeselectByValue Method WebDriver
Deselect the option having value matching the specified text.

Namespace: OpenQA.Selenium.Support.UI
Assembly: WebDriver.Support (in WebDriver.Support.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public void DeselectByValue(
	string value
)

Parameters

value
Type: OnlineSystem String
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