public void CheckMaxPriceFilter() { var productsPage = new ProductsPage(driver); productsPage.GoToPage(); productsPage.ApplyMaxPriceFilter(40); var isPriceMax = productsPage.CheckIfPriceIsMax(40); Assert.IsTrue(isPriceMax); }