SelectElementSelectByIndex Method
Select the option by the index, as determined by the "index" attribute of the element.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As SelectElement
Dim index As Integer

instance.SelectByIndex(index)

Parameters

index
Type: SystemInt32
The value of the index attribute of the option to be selected.
Exceptions
ExceptionCondition
NoSuchElementErrorThrown when no element exists with the specified index attribute.
See Also