Class SantanderLoginPage
- java.lang.Object
-
- de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
-
- de.frankmuenster.mahoe.banks.santander.webpages.SantanderLoginPage
-
- All Implemented Interfaces:
LoginPage
public class SantanderLoginPage extends SeleniumWebPage implements LoginPage
The login page for the Santander Bank- Since:
- 2.4.0
- Author:
- Frank Münster
-
-
Field Summary
-
Fields inherited from class de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
driver
-
-
Constructor Summary
Constructors Constructor Description SantanderLoginPage(org.openqa.selenium.WebDriver driver)
Creates a new LoginPage for the Santander Bank
-
Method Summary
All Methods Instance Methods Concrete 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.-
Methods inherited from class de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
elementExist
-
-
-
-
Method Detail
-
isLoggedIn
public boolean isLoggedIn()
Check if a user is logged in. There is no check if a specific account is logged in.- Specified by:
isLoggedIn
in interfaceLoginPage
- Returns:
true
if an user is logged in,false
else.
-
login
public void login(java.lang.String login, char[] password) throws WebSiteException
Logging the given user.- Specified by:
login
in interfaceLoginPage
- Parameters:
login
- the account to loginpassword
- the password- Throws:
WebSiteException
- if the login fails
-
-