public void ThenISetFollowingParametersInFilterCheckboxesOnSearchResultPage(Table table)
        {
            foreach (var row in table.Rows)
            {
                searchPage.ClickShowMore();
                string   key = row["Field"];
                Checkbox checkbox;
                switch (key)
                {
                case "Only show available properties":
                    Browser.Driver.FindElement(By.CssSelector("a[data-id='oos-1']")).Click();
                    break;

                case "US$62 - US$120 per night":
                case "US$61 - US$120 per night":
                case "US$120 - US$180 per night":
                case "US$180 - US$240 per night":
                case "US$180 - US$250 per night":
                case "US$240 + per night":
                case "US$250 + per night":
                case "Wonderful: 9+":
                case "Very Good: 8+":
                case "Good: 7+":
                case "Pleasant: 6+":
                case "No rating":
                case "1 star":
                case "2 stars":
                case "3 stars":
                case "4 stars":
                case "5 stars":
                case "Unrated":
                case "Front Desk Open 24/7":
                case "Hotels":
                case "Apartments":
                case "Vacation Homes":
                case "Hostels":
                case "Guesthouses":
                case "Homestays":
                case "Family Friendly Properties":
                case "Fitness Center":
                case "Fitness":
                case "Massage":
                case "Library":
                case "Bicycle Rental":
                case "Great Value Today":
                case "Free cancellation":
                case "Book without credit card":
                case "No prepayment":
                case "Breakfast included":
                case "Great breakfast available":
                case "Kitchen facilities":
                case "Empire State Building":
                case "Times Square":
                case "Brooklyn Bridge":
                case "Central Park":
                case "Top of the Rock":
                case "Twin beds":
                case "Double bed":
                case "Smoking allowed":
                case "No smoking allowed":
                case "Pet Friendly":
                case "Facilities for Disabled Guests":
                case "Free WiFi":
                case "Restaurant":
                case "Parking":
                case "Free Parking":
                case "Room Service":
                case "Family Rooms":
                case "Spa":
                case "Airport Shuttle":
                case "Swimming Pool":
                case "Air conditioning":
                case "Bathtub":
                case "Coffee machine":
                case "Electric kettle":
                case "Flat-screen TV":
                    checkbox = new Checkbox(key);
                    if (table.Rows.Any(r => r.ContainsKey("Scenario Key")))
                    {
                        ScenarioContext.Current.Set(checkbox.getAmountOffers(), row["Scenario Key"]);
                    }
                    checkbox.CheckboxSelector(row["Value"]);
                    searchPage.WaitFilter();
                    break;

                default:
                    throw new NotImplementedException();
                }
            }
        }