Exemple #1
0
        public void Click_PinkSneaker_Addtocart()
        {
            Actions     action = new Actions(Hooks.driver);
            IWebElement Hover  = Hooks.driver.FindElement(By.XPath(" //div[contains(@class,'product productid-8')]//img[contains(@class,'photo ls-is-cached lazyloaded')]"));

            action.MoveToElement(Hover).Perform();
            ImagAddtoCart.Click();
        }
Exemple #2
0
 public void AddToCartImage()
 {
     ImagAddtoCart.Click();
 }