protected virtual void OnAdd(string value) { AssociatedInput.Set(value); GetDropDownOption(value); Driver.Perform(x => x.SendKeys(Keys.Enter)); }
protected override void SetValue(string value) { Click(); string valueAsString = ConvertValueToString(value); AssociatedInput.Set(valueAsString); DropDownItems.Items.Count.Should.BeGreater(0); Owner.Press(Keys.Enter); }