public class PostBoxPage
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected SantanderWebAccountInformation |
accountInfo |
Account to open the details page for
|
protected org.openqa.selenium.WebDriver |
driver |
The webdriver with logged-in user
|
protected de.willuhn.jameica.hbci.rmi.KontoType |
ktoType |
Account type
|
Constructor | Description |
---|---|
PostBoxPage(org.openqa.selenium.WebDriver driver,
java.lang.String baseUrl,
SantanderWebAccountInformation accountInfo) |
Create a new post box page for the given account
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasNextDocument() |
Returns
true if the PostBox has more accounts sheets/card
billings. |
boolean |
hasNextKtoCard() |
Returns
true if the PostBox has more accounts sheets/card
billings. |
org.apache.commons.lang3.tuple.Pair<java.util.Date,org.openqa.selenium.WebElement> |
nextDocument() |
Returns the next document from the PostBox
|
org.apache.commons.lang3.tuple.Pair<java.util.Date,org.openqa.selenium.WebElement> |
nextNextKtoCard() |
Returns the next accounts sheet/card billing from the PostBox
|
protected final org.openqa.selenium.WebDriver driver
protected final SantanderWebAccountInformation accountInfo
protected final de.willuhn.jameica.hbci.rmi.KontoType ktoType
public PostBoxPage(org.openqa.selenium.WebDriver driver, java.lang.String baseUrl, SantanderWebAccountInformation accountInfo) throws WebSiteException, java.rmi.RemoteException
driver
- accountInfo
- baseUrl
- WebSiteException
java.rmi.RemoteException
public boolean hasNextDocument()
true
if the PostBox has more accounts sheets/card
billings. (In other words, returns true
if nextDocument()
would return an element rather than throwing an exception.)true
if the PostBox has more elementspublic boolean hasNextKtoCard()
true
if the PostBox has more accounts sheets/card
billings. (In other words, returns true
if nextDocument()
would return an element rather than throwing an exception.)true
if the PostBox has more elementspublic org.apache.commons.lang3.tuple.Pair<java.util.Date,org.openqa.selenium.WebElement> nextDocument() throws java.util.NoSuchElementException
java.util.NoSuchElementException
- - if the PostBox has no more elementspublic org.apache.commons.lang3.tuple.Pair<java.util.Date,org.openqa.selenium.WebElement> nextNextKtoCard() throws java.util.NoSuchElementException
java.util.NoSuchElementException
- - if the PostBox has no more elements