RemoteWebElementSelected Property WebDriver
Gets a value indicating whether or not this element is selected.

Namespace: OpenQA.Selenium.Remote
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public bool Selected { get; }

Property Value

Type: Boolean

Implements

IWebElementSelected
Exceptions

ExceptionCondition
StaleElementReferenceExceptionThrown when the target element is no longer valid in the document DOM.
Remarks

This operation only applies to input elements such as checkboxes, options in a select element and radio buttons.
See Also

Reference