I - the concrete WebAccountInformationM - the concrete AbstractBankMessagesWebSite<I>BosWebSite, SantanderWebSite, TargoBankWebSitepublic abstract class AbstractSeleniumWebSite<I extends WebAccountInformation,M extends AbstractBankMessages<org.openqa.selenium.WebDriver>> extends AbstractWebSite<org.openqa.selenium.WebDriver,I,M>
accountInfo, NON_BREAK_SPACE, TABLE_TAG, webClient| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractSeleniumWebSite(de.willuhn.jameica.hbci.rmi.Konto konto) |
Standardkonstruktor
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
checkSeleniumDriverSet(org.openqa.selenium.WebDriver driver) |
Checks if the driver is set and active. if not a status bar message is
send that driver is not configured.
|
protected boolean |
elementExits(org.openqa.selenium.By byId) |
checks if an element identified by
By exits |
static java.nio.file.Path |
getDownloadsDirectory() |
Returns the temporary folder to use for downloading account sheets.
|
protected org.openqa.selenium.WebDriver |
getWebClient() |
Here we setup the Selenium driver as replacement for the HTMLUnit client.
|
void |
saveCookies(java.lang.String backupFileName) |
Save the cookies to be used next time
|
static void |
shutDown() |
Clean and remove temp-folder and shutdown the driver
|
getGenericClassParameter, getMessages, getStartdate, setAccountBasicInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSepaTransfer, getAccountInformation, getAccountSheets, getBookedTransactions, getPreBookedTransactions, isStillLoggedIn, login, logoffprotected AbstractSeleniumWebSite(de.willuhn.jameica.hbci.rmi.Konto konto)
throws WebSiteException
konto - WebSiteExceptionpublic static java.nio.file.Path getDownloadsDirectory()
throws de.willuhn.util.ApplicationException
de.willuhn.util.ApplicationException - if the tmp folder cannot be createdpublic static void shutDown()
public void saveCookies(java.lang.String backupFileName)
protected void checkSeleniumDriverSet(org.openqa.selenium.WebDriver driver)
throws WebSiteException
driver - the driver to checkWebSiteException - when the driver is not setprotected boolean elementExits(org.openqa.selenium.By byId)
By exitsbyId - the element to search forprotected org.openqa.selenium.WebDriver getWebClient()
getWebClient in class AbstractWebSite<org.openqa.selenium.WebDriver,I extends WebAccountInformation,M extends AbstractBankMessages<org.openqa.selenium.WebDriver>>