public bool IsQuantityDecreaseIconPresent() =>
 SiteDriver.IsElementPresent(ProductDetailPageObject.DecreaseButtonCssSelector, How.CssSelector);
 public bool IsProductDetailLabel(string label) =>
 SiteDriver.IsElementPresent(string.Format(ProductDetailPageObject.ProductDetailLabelCssTemplate, label), How.CssSelector);
 public bool IsSizeInputPresent() =>
 SiteDriver.IsElementPresent(ProductDetailPageObject.ProductSelectorCssSelector, How.CssSelector);
 public bool IsCartQuantityPresent() =>
 SiteDriver.IsElementPresent(HomePageObjects.CartQuantityCssSelector, How.CssSelector);
 public bool IsProductReviewPresent() =>
 SiteDriver.IsElementPresent(ProductDetailPageObject.ProductReviewCssSelector, How.CssSelector);
 public bool IsAddToCartButtonPresent() =>
 SiteDriver.IsElementPresent(ProductDetailPageObject.AddToCartCssSelector, How.CssSelector);
 public bool IsSortOptionPresent() =>
 SiteDriver.IsElementPresent(HomePageObjects.SelectedSortOptionCssSelector, How.CssSelector);
        //private static IJavaScriptExecutor _javascriptexecutor;

        #region Public Methods

        public bool IsPageHeaderPresent() =>
        SiteDriver.IsElementPresent(ProductDetailPageObject.PageHeaderCssSelector, How.CssSelector);
 public bool IsAppliFashionLogoPresent() => SiteDriver.IsElementPresent(HomePageObjects.AppliFashionLogoCssSelector, How.CssSelector);
 public bool IsSubmitIconPresent() =>
 SiteDriver.IsElementPresent(ProductDetailPageObject.SubmitButtonCssSelector, How.CssSelector);
 public bool IsApplitools2020Present() =>
 SiteDriver.IsElementPresent(ProductDetailPageObject.Applitools2020CssSelector, How.CssSelector);
Пример #12
0
 public bool IsKeepInTouchPresent() =>
 SiteDriver.IsElementPresent(ProductDetailPageObject.KeepInTouchCssSelector, How.CssSelector);
Пример #13
0
 public bool IsAddToFavoriteCompareCartPresentByIds(string productId, string iconId) =>
 SiteDriver.IsElementPresent(
     string.Format(HomePageObjects.AddToFavoriteCompareCartCssTemplate, productId, iconId), How.CssSelector);
Пример #14
0
 public bool IsListViewIconPresent() =>
 SiteDriver.IsElementPresent(HomePageObjects.ListViewIconCssSelector, How.CssSelector);
 public bool IsQuantityPresent() =>
 SiteDriver.IsElementPresent(ProductDetailPageObject.QuantityCssSelector, How.CssSelector);
 public bool IsSearchButtonPresent() =>
 SiteDriver.IsElementPresent(HomePageObjects.SearchButtonCssSelector, How.CssSelector);
 public bool IsDiscountBannerPresent() =>
 SiteDriver.IsElementPresent(ProductDetailPageObject.DiscountCssSelector, How.CssSelector);
 public bool IsCartIconPresent() =>
 SiteDriver.IsElementPresent(HomePageObjects.CartCssSelector, How.CssSelector);
 public bool IsProductDescriptionPresent() =>
 SiteDriver.IsElementPresent(ProductDetailPageObject.ProductDescriptionCssSelector, How.CssSelector);
Пример #20
0
 //Top Banner
 public bool IsTopBannerPresent() =>
 SiteDriver.IsElementPresent(HomePageObjects.TopBannerCssSelector, How.CssSelector);