driver.FindElement(By.Id("inputUsername")).SendKeys("aca");
driver.FindElement(By.Id("inputPassword")).SendKeys("123");
driver.FindElement(By.TagName("button")).Click();
SelectElement oSelect = new SelectElement(driver.FindElement(By.Id("selectFilterbyUser")));
oSelect.selectByText("Alex");
Do anyone have solution for the problem that i had attach in the above? Try to use SelectElement but it displays:
The type or namespace `SelectElement` could not be found.
I tried to see the potential fixes, but it shows only three options which are
- Generate class
SelectElementin a new file - Generate class
SelectElement - Generate nested class
SelectElement
Does anyone know how to solve it?

Referring to a few previous posts it seems if you are using frameworks like nunittestadapter, NUnit.Framework, VS 2017 using the NuGet Manager sometimes there can be issues with the installation /configuration.
SelectElement Class
As per the documentation the
SelectElementClass is pretty much available withinOpenQA.Selenium.Support.UI Namespacewhich provides a convenience method for manipulating selections of options in an HTML select element.Snapshot:
Solution
Uninstall & reinstall the Selenium.Webdriver and Selenium.Support packages, that will surely fix the problem.
Reference
You can find a relevant discussion in Cannot find WebDriverWait class in OpenQa Selenium 3.7