driver.FindElement(By.Id(\"inputUsername\")).SendKeys(\"aca\");
driver.FindElement(By.Id(\"inputPassword\")).SendKeys(\"123\");
driver.FindElement(By.TagName(\"butto
Selenium WebDriver C# code for selecting item from Drop Down:
IWebElement selectElement = driver.FindElement(By.Id("selectFilterbyUser"));
SelectElement oSelect = new SelectElement(selectElement);
There are 3 ways to select drop down item: byText, byIndex, byValue
1.byText()
oSelect.SelectByText("Alex");
2.byIndex()
SelectAnEducation.SelectByIndex(0);
3.byValue()
SelectAnEducation.SelectByValue("Alex");
Hope this helps,