public void ThenAllTheAvialableAccomodatioonsArePresent()
 {
     string[] accomodations= new ContinentPage(driver).carouseltexts();
     foreach (var accomodation in accomodations)
     {
         Console.WriteLine(accomodation);
     }
 }
        public void WhenIClickOnAccommodationsTab()
        {
            string[] navlinks = new ContinentPage(driver).navlinks();
            foreach (var navlink in navlinks)
            {
                if (navlink=="ACCOMMODATIONS")
                {
                    driver.FindElement(By.LinkText(navlink)).Click();
                }

            }
        }
 public string[] ThenAllTheAreasWithOffersAreAvailable()
 {
     string[] areas = new ContinentPage(driver).carouseltexts();
     if (areas.Length<1)
     {
         Console.WriteLine("No data available");
     }
     else
     {
         foreach (string area in areas)
         {
             Console.WriteLine(area);
         }
     }
     return areas;
 }
 public void ThenTheNavigationLinksArePresent(Table table)
 {
     string[] navlinks = new ContinentPage(driver).navlinks();
     for (int i = 0; i < navlinks.Count(); i++)
     {
         Assert.AreEqual(table.Rows[i]["Value"], navlinks[i]);
     }
 }