Class BosLoginPage
java.lang.Object
de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
de.frankmuenster.mahoe.banks.bos.webpages.BosLoginPage
- All Implemented Interfaces:
LoginPage
The login page for the BOS Bank
- Since:
- 2.6.0
- Author:
- Frank Münster
-
Field Summary
Fields inherited from class de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
driver
-
Constructor Summary
ConstructorsConstructorDescriptionBosLoginPage
(org.openqa.selenium.WebDriver driver) Creates a new LoginPage for the BOS Bank -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if a user is logged in.void
Logging the given user.Methods inherited from class de.frankmuenster.mahoe.web.webpages.SeleniumWebPage
elementExist
-
Constructor Details
-
BosLoginPage
public BosLoginPage(org.openqa.selenium.WebDriver driver) Creates a new LoginPage for the BOS Bank- Parameters:
driver
- theWebDriver
to use for that page
-
-
Method Details
-
isLoggedIn
public boolean isLoggedIn()Description copied from interface:LoginPage
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.- See Also:
-
login
Logging the given user.- Specified by:
login
in interfaceLoginPage
- Parameters:
login
- the account to loginpassword
- the password- Throws:
WebSiteException
- if the login fails
-