public TacticalBootsPage FilterByBrand(TacticalBootsBrand brand) { var url = driver.Url; BrandFilterList[brand.Index].Click(); AddRemoveSelectedBrandList(brand); WaitForRefresh(url); return(this); }
public void AddRemoveSelectedBrandList(TacticalBootsBrand brand) { if (selectedBrands.Contains(brand.BrandName)) { selectedBrands.Remove(brand.BrandName); } else { selectedBrands.Add(brand.BrandName); } }