//Functions
        public void ClickProduct(string nameProduct)
        {
            var product = IZWebDriver.FindElement(By.CssSelector($"#homefeatured h5 a[title='{nameProduct}']"));

            product.Click();
        }
예제 #2
0
        public bool IsMyOrderCompleted()
        {
            var text = IZWebDriver.FindElement(By.CssSelector("p strong"));

            return(text.Text.Equals("Your order on My Store is complete."));
        }