public void TVSearch() { //arrange _driver.Url = Url; var homePageSteps = new HomePageSteps(_driver); var tvSearchResultsSteps = new TVSearchResultSteps(_driver); //act homePageSteps.SelectTelevisionSection(); homePageSteps.SelectLGProducts(); var conditionList = tvSearchResultsSteps.GetLGNames().Select(name => name.Contains("LG")).ToList(); //assert CollectionAssert.DoesNotContain(conditionList, false); }