public void NavigateElements(String PageLoad, String ElementVisible, String ClickElement, String ActualPage, IWebDriver driver, String AssertText) { UserValidate = new UserValidate(driver); UserValidate.WaitPageLoad(PageLoad); UserValidate.WaitElementVisible(ElementVisible); new UsersReusables(driver).UsersNavigate(ClickElement); UserValidate.WaitPageLoad(ActualPage); UserValidate.PageContainsText(driver, AssertText); }