Using selenium c# - I am unable to click on a value of an angular dropdown list.
code:
new SelectElement(driver.FindElement(By.Name("Status"))).SelectByIndex(2)
error: 'Element should have been select but is a ng-select'.
I also tried clicking on the dropdown first then targeting the values after dropdown list shows. I got 'Element should have been select but is a div'
Any Ideas on the latest way to use selenium c# for selecting values of ng select, ng options select dropdowns, would be appreciated.