public static AllProductsPage AddProduct(Product product, IWebDriver driver)
        {
            HomePage           homePage           = new HomePage(driver);
            AllProductsPage    allProductsPage    = homePage.ClickOnAllProductsLink();
            ProductEditingPage productEditingPage = allProductsPage.ClickOnCreateNewBtn();

            productEditingPage.AddTestProduct(product);

            return(allProductsPage);
        }
 public void WhenIClickOnCreateNewButton()
 {
     productEditingPage = allProductsPage.ClickOnCreateNewBtn();
 }