private void ClickDropdownComponentByPartialName(string optionName) { if (!GetDropdownComponent().IsExistDropdownOptionByPartialName(optionName)) { // TODO Develop Custom Exception throw new Exception("OptionName not found."); } GetDropdownComponent().ClickDropdownOptionByPartialName(optionName); dropdownComponent = null; }
private void InitElements() { dropdownComponent = null; }
private void CloseDropdownOption() { ClickSearchField(); dropdownComponent = null; }
private DropdownComponent CreateDropdownComponent(By searchLocator) { dropdownComponent = new DropdownComponent(driver, searchLocator); return(GetDropdownComponent()); }