[Erledigt] Weltsparen: Fehler: Auslesen des Kontostands fehlerhaft: org.openqa.selenium.TimeoutException

Hier gibt es Support zu den Plugin der neuesten Generation des Hibiscus-Mashup Projekts von Sebastian Richter
hbci
VIP
VIP
Beiträge: 768
Registriert: Sa 7. Mär 2020, 15:01
Has thanked: 23 times
Been thanked: 32 times

[Erledigt] Weltsparen: Fehler: Auslesen des Kontostands fehlerhaft: org.openqa.selenium.TimeoutException

Beitrag von hbci » So 2. Apr 2023, 14:58

Code: Alles auswählen

[02.04.2023 14:32:49] Synchronisierung via non-HBCI (Hibiscus Mashup) läuft
[02.04.2023 14:32:49]  
[02.04.2023 14:32:49] System-Info: OS[Windows 10 (ver. 10.0) amd64]  Platform[Jameica 2.10.3 | Build: 486 vom 20230125]  Plugin[hibiscus 2.10.10 | Build: 372 vom 20230125]
[02.04.2023 14:32:49] Installierte und aktive Plugin-Versionen: [Finance.Websync ver. 0.9.54-nightly | Build: 954 vom 20230401] [Hibiscus Mashup ver. 0.9.32 | Build: 551 vom 20230313]
[02.04.2023 14:32:49] Überprüfe Jameica-Version ...
[02.04.2023 14:32:49] OK: Jameica-Version 2.10.3 installiert und aktiv
[02.04.2023 14:32:49] Überprüfe Java-Version und den verwendeten Zeichensatz ...
[02.04.2023 14:32:49] OK: Java-Version 11.0.18 von 'Eclipse Adoptium' installiert, aktiv und verwendet Zeichensatz 'Cp1252' (Home: C:\PortableApps\jameica 2.10.3\jre-win64)
[02.04.2023 14:32:49] Überprüfe Selenium-Version ...
[02.04.2023 14:32:49] OK: Selenium-Version 4.8.1 installiert und aktiv
[02.04.2023 14:32:49] Überprüfe ChromeDriver-Version ...
[02.04.2023 14:32:50] OK: ChromeDriver-Version 111.0.5563.64 installiert und aktiv
[02.04.2023 14:32:50]  
[02.04.2023 14:32:50] Synchronisiere Konto 'WeltSparen - Anlage, IBAN DE7550..* [Raisin Bank]' ...
[02.04.2023 14:32:50] Selenium WebDriver über ChromeDriver wird gestartet ...
[02.04.2023 14:32:54] Überprüfe Chrome-Version ...
[02.04.2023 14:32:54] OK. Browser ist: chrome ver. 111
[02.04.2023 14:32:56] Web-Login mit Selenium-WebDriver-Engine mit Anmeldekennung ******* auf https://banking.weltsparen.de/savingglobal/#/Login ...
[02.04.2023 14:37:51] WeltSparen-Login war erfolgreich
[02.04.2023 14:37:51] Rufe Umsatzübersicht auf und starte Abruf des Kontoauszuges ...
[02.04.2023 14:37:51] Suche Umsätze im Zeitraum vom 13.02.2023 bis 02.04.2023 und lese diese aus ...
[02.04.2023 14:38:22] INFO: Vom folgenden Fehler wurde ein Screenshot auf dem Desktop abgelegt! Datei: HibiscusMashup-Fehler_WeltSparen-Sync_1680439101582.png (Pfad: C:\Users\*\Desktop\)
[02.04.2023 14:39:31] Web-Logout der aktuellen Online-Sitzung ...
[02.04.2023 14:39:46] Warnung: WeltSparen-Logout war fehlerhaft; Bitte dem Entwickler im Forum melden!
[02.04.2023 14:39:52] Fehler: Auslesen des Kontostands fehlerhaft: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for presence of element located by: By.xpath: //span[contains(@class,'sg-selenium-balance')] (tried for 30 second(s) with 500 milliseconds interval)
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:87)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at de.derrichter.finance.websync.institute.weltsparen.WebPull.getTransData(WebPull.java:107)
	at de.derrichter.hibiscus.mashup.crossover.websync.institute.weltsparen.Collector.run(Collector.java:186)
	at de.derrichter.hibiscus.mashup.crossover.websync.WebSynchronizeJobKontoauszug.execute(WebSynchronizeJobKontoauszug.java:84)
	at de.derrichter.hibiscus.mashup.crossover.websync.WebSynchronizeBackend$WebSyncJobGroup.sync(WebSynchronizeBackend.java:890)
	at de.willuhn.jameica.hbci.synchronize.AbstractSynchronizeBackend$Worker.run(AbstractSynchronizeBackend.java:399)
	at de.willuhn.jameica.gui.GUI$7.run(GUI.java:1081)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//span[contains(@class,'sg-selenium-balance')]"}
  (Session info: chrome=111.0.5563.147)
For documentation on this error, please visit: https://selenium.dev/exceptions/#no_such_element
Build info: version: '4.8.1', revision: '8ebccac989'
System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.18'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [c5e419ce4b376b6b71e3e5b7aad2f8bf, findElement {using=xpath, value=//span[contains(@class,'sg-selenium-balance')]}]
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 111.0.5563.147, chrome: {chromedriverVersion: 111.0.5563.64 (c710e93d5b63..., userDataDir: C:\Users\*\AppData\Local\...}, goog:chromeOptions: {debuggerAddress: localhost:56060}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: WINDOWS, proxy: Proxy(direct), se:cdp: ws://localhost:56060/devtoo..., se:cdpVersion: 111.0.5563.147, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: c5e419ce4b376b6b71e3e5b7aad2f8bf
	at jdk.internal.reflect.GeneratedConstructorAccessor781.newInstance(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:53)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:167)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:142)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543)
	at org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:162)
	at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:60)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:352)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:344)
	at org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:174)
	at org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:171)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	... 6 more
HibiscusMashup-Fehler_WeltSparen-Sync_1680439101582.png
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.

Benutzeravatar
Hibiscus-Scripter
Administrator
Administrator
Beiträge: 2530
Registriert: Mi 30. Okt 2013, 17:14
Wohnort: Würzburg
Has thanked: 97 times
Been thanked: 61 times

Re: Weltsparen: Fehler: Auslesen des Kontostands fehlerhaft: org.openqa.selenium.TimeoutException: Expected condition fa

Beitrag von Hibiscus-Scripter » Di 4. Apr 2023, 20:23

So, danke für die ordentliche Meldung mit der vollständigen Status-Log :thumbup:
das Problem konnte reproduziert und damit untersucht werden.

Gerne mal mit den aktuellen Nightly-Builds von
  • finance.websync
  • hibiscus.mashup
ausprobieren, in welcher die Fehler behoben sein sollten.
:idea: Hilfe als Anleitung hierzu gibst wie immer auch im Tipps und Tricks-Forum


Hier dann bitte auch wieder Rückmeldung geben!
:!: Dabei bitte nicht vergessen:
Sollten dennoch weiterhin Fehler auftreten hier das vollständige Status-Log posten!
(formatiert wie in den Posting-Regeln beschrieben)


Gruß :wave:

hbci
VIP
VIP
Beiträge: 768
Registriert: Sa 7. Mär 2020, 15:01
Has thanked: 23 times
Been thanked: 32 times

Re: Weltsparen: Fehler: Auslesen des Kontostands fehlerhaft: org.openqa.selenium.TimeoutException: Expected condition fa

Beitrag von hbci » Fr 7. Apr 2023, 19:51

Läuft, danke.

Zurück zu „Hibiscus Mashup über Finance.Websync - (Beta 0.x = neue Release 3 der alten Scripte)“