make load more strict

This commit is contained in:
Jan Bader
2026-04-07 23:51:50 +02:00
parent 9a6372d5c0
commit f703f39bcb

View File

@@ -336,7 +336,7 @@ def download_all_invoices() -> list[Path]:
if year != "all":
year_select = page.locator("select#yearSelection, select#receiptDateId").first
if year_select.count() > 0:
with page.expect_navigation(wait_until="domcontentloaded"):
with page.expect_navigation(wait_until="domcontentloaded", timeout=30000):
year_select.select_option(value=year)
time.sleep(1)