public void RegisterAndLogIn(string userProfile) { _driver.Navigate().GoToUrl(_configuration.RegisterUserUrl); _registerUserPage = new RegisterUser(); PageFactory.InitElements(_driver, _registerUserPage); _registerUserPage.RegisterAsNewUser(_parsonDetails.EmailAddress(), _parsonDetails.Password(), userProfile); }