public void BuyProduct() { var product = new CartPage(driver); product.AddtoCart(); string url = "https://www.flipkart.com/checkout/init?otracker=search"; Assert.AreEqual(driver.Url, url); }
public void BuyProduct() { var product = new CartPage(driver); product.AddtoCart(); string url = "https://www.flipkart.com/checkout/init?otracker=search"; Assert.AreEqual(driver.Url, url); }