public void ThenITickLogOutOption(string option)
 {
     Sync.ExplicitWait(1);
     AppointmentManagerPages.HomePage.CurrentUserDropDown.Click();
     Sync.ExplicitWait(1);
     Sync.FindElementWait(By.XPath($"//a[contains(@class,'dropdown-item') and text()='{option}']"));
     AppointmentManagerPages.HomePage.CurrentUserDropDownItem(option).Click();
 }
 public void GivenIMakeAnAppointmentToAService()
 {
     Sync.ExplicitWait(1);
     Sync.FindElementWait(By.XPath("(//tbody/tr/td[4])[1]"));
     AppointmentManagerPages.ServicesPage.DetailButtonFirstService.Click();
     Sync.ExplicitWait(1);
     Utilities.DoubleClick(AppointmentManagerPages.ServicesPage.CreateAppointmentButton);
     Sync.ExplicitWait(1);
     AppointmentManagerPages.ServicesPage.AppointmentDateField.SendKeys("12 December, 2020 17:00");
     Sync.ExplicitWait(1);
     AppointmentManagerPages.ServicesPage.NewAppointmentLabel.Click();
     Sync.ExplicitWait(1);
     Sync.FindElementWait(By.XPath("//button[text()='Save']"));
     AppointmentManagerPages.MyServicesPage.SaveButton.Click();
 }