public void GivenMyPipeline_WhenClickingTheSearchClientLink_ThenCheckForAllElementsExistance() { myPipeline.NavigateToPipelineSearchPopup(driver); driver.SwitchTo().Window(driver.CurrentWindowHandle); IList <IWebElement> items = myPipeline.CreateListOfAllElementsForSearchPopup(); for (int i = 0; i < items.Count; i++) { commonhelper.ValidatateWebElementDisplayed(items[i]); } }