public static UserProfilePage SignIn() { var authPage = new IndexPage().SigInButtonClick(); authPage.EnterLogin(AppSettings.Login) .EnterPassword(AppSettings.Password); var userProfilePage = authPage.Submit(); CkeckForSuccessLogin(authPage); return(userProfilePage); }