SelectElement MembersWebDriver

The SelectElement type exposes the following members.
Constructors

  NameDescription
Public methodSelectElement
Initializes a new instance of the SelectElement class.
Back to Top
Methods

  NameDescription
Public methodDeselectAll
Clear all selected entries. This is only valid when the SELECT supports multiple selections.
Public methodDeselectByIndex
Deselect the option by the index, as determined by the "index" attribute of the element.
Public methodDeselectByText
Deselect the option by the text displayed.
Public methodDeselectByValue
Deselect the option having value matching the specified text.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodSelectByIndex
Select the option by the index, as determined by the "index" attribute of the element.
Public methodSelectByText
Select all options by the text displayed.
Public methodSelectByValue
Select an option by the value.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyAllSelectedOptions
Gets all of the selected options within the select element.
Public propertyIsMultiple
Gets a value indicating whether the parent element supports multiple selections.
Public propertyOptions
Gets the list of options for the select element.
Public propertySelectedOption
Gets the selected item within the select element.
Back to Top
See Also