protected override T GetValue() { IWebElement option = new SelectElement(Scope).SelectedOption; string valueAsString = by == SelectBy.Text ? option.Text : option.GetValue(); return(ConvertStringToValue(valueAsString)); }