public string LoginCaseOK(IWebDriver driver) { userEntity = repository.GetUser("Correct"); loginPage.AccessToLoginPage(driver); loginPage.IntroduceAnEmail(driver, userEntity.Email); loginPage.IntroduceAPassword(driver, userEntity.Password); loginPage.ClickOnLoginButton(driver); return(driver.Url); }