public bool IsOldPriceCorrect() =>
 SiteDriver.FindElement(ProductDetailPageObject.OldPriceCssSelector, How.CssSelector).Text.Contains("$48.00");
 public bool IsCurrencyDollars() =>
 SiteDriver.FindElement(ProductDetailPageObject.SelectedCurrencyCssSelector, How.CssSelector).Text.Contains("US Dollars");
 public bool IsSelectedsizeSmall() =>
 SiteDriver.FindElement(ProductDetailPageObject.SelectedProduct, How.CssSelector).Text.Contains("Small (S)");
 public string GetCartQuanity() =>
 SiteDriver.FindElement(HomePageObjects.CartQuantityCssSelector, How.CssSelector).Text;
 public bool IsSelectedLanguaueEnglish() =>
 SiteDriver.FindElement(ProductDetailPageObject.SelectedLanguageCssSelector, How.CssSelector).Text.Contains("English");
        public static void SelectCountry(string country)
        {
            SelectElement selectElement = new SelectElement(SiteDriver.FindElement(PersonalityTestPageObject.country, "CSSSelector"));

            selectElement.SelectByText(country);
        }
 public string GetDefaultSearchInputValue() =>
 SiteDriver.FindElement(HomePageObjects.SearchInputCssSelector, How.CssSelector).GetAttribute("placeholder");
 public string GetSelectedLanguaue() =>
 SiteDriver.FindElement(ProductDetailPageObject.SelectedLanguageCssSelector, How.CssSelector).Text;
 public string GetSelectedCurrency() =>
 SiteDriver.FindElement(ProductDetailPageObject.SelectedCurrencyCssSelector, How.CssSelector).Text;
 public string GetFilteredProductNameById(string id) => SiteDriver
 .FindElement(string.Format(HomePageObjects.ProductInFilteredProductCssTemplate, id),
              How.CssSelector).GetAttribute("alt");
 public string GetContactLocation() =>
 SiteDriver.FindElement(ProductDetailPageObject.ContactLocationCssSelector, How.CssSelector).Text.Replace("\r\n", " ");
 public ProductPage ClickOnProductImageByProductName(string name)
 {
     SiteDriver.FindElement(string.Format(HomePageObjects.ProductDetailLinkByImageCssTemplate, name), How.CssSelector).Click();
     return(new ProductPage());
 }
 //ToolBox
 public string GetSelectedSortOption() =>
 SiteDriver.FindElement(HomePageObjects.SelectedSortOptionCssSelector, How.CssSelector).Text.Trim();
 public static string getTextBoxValue(string selector, string how)
 {
     return(SiteDriver.FindElement(selector, how).GetAttribute("value"));
 }
 public void ClickFilterButton() =>
 SiteDriver.FindElement(HomePageObjects.FilterButtonCssSelector, How.CssSelector).Click();
 public void ClickAppliFashionLogo() =>
 SiteDriver.FindElement(HomePageObjects.AppliFashionLogoCssSelector, How.CssSelector).Click();
 public void ClickAppliAirXNight() =>
 SiteDriver.FindElement(HomePageObjects.AppliAirXNightCssSelector, How.CssSelector).Click();
        public static void SelectSkills(string skill)
        {
            SelectElement selectElement = new SelectElement(SiteDriver.FindElement(PersonalityTestPageObject.skills, "CSSSelector"));

            selectElement.SelectByText(skill);
        }