public ProductDetailsPage OpenProductByName(string name) { AllProducts.First(c => c.Name.Equals(name)).Open(); return(new ProductDetailsPage(Driver)); }