Interface LoginPage
-
- All Known Implementing Classes:
BosLoginPage
,SantanderLoginPage
,TargoBankLoginPage
public interface LoginPage
The login page of Bank- Since:
- 2.6.0
- Author:
- Frank Münster
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isLoggedIn()
Check if a user is logged in.void
login(java.lang.String login, char[] password)
Logging the given user.
-
-
-
Method Detail
-
isLoggedIn
boolean isLoggedIn()
Check if a user is logged in. There is no check if a specific account is logged in.- Returns:
true
if an user is logged in,false
else.
-
login
void login(java.lang.String login, char[] password) throws WebSiteException
Logging the given user.- Parameters:
login
- the account to loginpassword
- the password- Throws:
WebSiteException
- if the login fails
-
-