public bool ISContactLocationPresent() =>
 JavascriptExecutor.IsElementPresent(ProductDetailPageObject.ContactLocationCssSelector);
 public bool IsMailIconPresentInContact() =>
 JavascriptExecutor.IsElementPresent(ProductDetailPageObject.ContactEmailIconCssSelector);
 public bool IsAccountWishlistIconPresentByIconName(string icon) =>
 JavascriptExecutor.IsElementPresent(string.Format(HomePageObjects.AccountWishlistCssTemplate, icon));
 //footer
 public bool IsFooterHeaderPresentByFooterName(string name) =>
 JavascriptExecutor.IsElementPresent(string.Format(ProductDetailPageObject.FooterHeaderCssTemplate, name));
 public bool IsAddtionalLinksPresentByLinkName(string name) =>
 JavascriptExecutor.IsElementPresent(string.Format(ProductDetailPageObject.AdditionalLinkCssTemplate, name));
 public bool IsMainHeaderPresent(string header) =>
 JavascriptExecutor.IsElementPresent(string.Format(HomePageObjects.MainMenuHeaderCssTemplate, header));
Ejemplo n.º 7
0
 public bool IsCountDownPresentById(string id) => JavascriptExecutor.IsElementPresent(string.Format(HomePageObjects.ProductWithCountdownCssTemplate, id));
Ejemplo n.º 8
0
 public bool IsDiscountBannerPresentById(string id) => JavascriptExecutor.IsElementPresent(string.Format(HomePageObjects.ProductWithRibbonCssTemplate, id));
Ejemplo n.º 9
0
 public bool IsFilterResetButtonDisabledByButtonId(string id) => JavascriptExecutor
 .IsElementPresent(string.Format(HomePageObjects.SideFilterButtonDisabledCssTemplate, id));
Ejemplo n.º 10
0
 public bool IsFilterResetButtonPresentByButtonName(string name) =>
 JavascriptExecutor.IsElementPresent(string.Format(HomePageObjects.SideFilterResetButtonCssTemplate, name));
Ejemplo n.º 11
0
 public bool IsSidefilterQuantityPresentByHeaderAndOption(string header, string option) => JavascriptExecutor
 .IsElementPresent(string.Format(HomePageObjects.SideFilterOptionQuantityCssTemplate, header, option));