Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 1.36 KB

File metadata and controls

17 lines (15 loc) · 1.36 KB

WebElementExtensions.JsSelectByIndex(OpenQA.Selenium.Support.UI.SelectElement, int) Method

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

public static void JsSelectByIndex(this OpenQA.Selenium.Support.UI.SelectElement selectElement, int index);

Parameters

selectElement OpenQA.Selenium.Support.UI.SelectElement
This OpenQA.Selenium.Support.UI.SelectElement.

index System.Int32
The value of the index attribute of the option to be selected.