From 7494f4e51b142a25263f1ec57871513dae196b29 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Thu, 15 Jun 2023 22:37:13 +0200 Subject: [PATCH] fix: add sleep before dismissing welcome screen --- ofx_processor/downloaders/lcl.py | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ofx_processor/downloaders/lcl.py b/ofx_processor/downloaders/lcl.py index b03c47f..d71f6ba 100644 --- a/ofx_processor/downloaders/lcl.py +++ b/ofx_processor/downloaders/lcl.py @@ -62,6 +62,7 @@ class LclDownloader: self._click(By.CLASS_NAME, "app-cta-button") click.secho("Logged in!", fg="green") + time.sleep(2) try: self._click(By.CSS_SELECTOR, ".app-cta-button--primary") click.secho("Dismissing welcome screen...", fg="blue") diff --git a/pyproject.toml b/pyproject.toml index 5befb4e..6344bb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ofx-processor" -version = "4.4.4" +version = "4.4.5" description = "Personal ofx processor" readme = "README.md" authors = ["Gabriel Augendre "]