Ejemplo n.º 1
0
        public void WhenUserNavigatingToTheirFavoritesList()
        {
            HeaderObjects page = new HeaderObjects(_driver);

            page.Wishlist();
            WishlistPageObjects whPage = new WishlistPageObjects(_driver);

            whPage.FavoritesList();
        }
        public void WhenUserNavigatingToTheirFavoritesList()
        {
            HeaderObjects page = new HeaderObjects(_driver);

            page.Wishlist();
            WishlistPageObjects whPage = new WishlistPageObjects(_driver);

            whPage.FavoritesList();

            //Actions action = new Actions(driver);
            //IWebElement we = (driver.FindElement(By.CssSelector(".myAccountHolder")));
            //action.MoveToElement(we).Perform();
            //var a = driver.FindElements(By.CssSelector(".hOpenMenuContent a"));
            //a[1].Click();
            //driver.FindElement(By.CssSelector("ul .listItemProductList li a")).Click();
        }