From a0395fc296f44eb92a7a4a435788ca3bd17b481a Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 5 Nov 2022 20:34:03 +0100 Subject: [PATCH] Fix lcl return to legacy --- ofx_processor/downloaders/lcl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ofx_processor/downloaders/lcl.py b/ofx_processor/downloaders/lcl.py index c04af64..e23184e 100644 --- a/ofx_processor/downloaders/lcl.py +++ b/ofx_processor/downloaders/lcl.py @@ -54,8 +54,8 @@ class LclDownloader: click.secho("Logged in!", fg="green") try: - self._click(By.CSS_SELECTOR, "nav.menu-legacy button") - self._click(By.CSS_SELECTOR, ".menu-link.to-legacy") + self._click(By.CSS_SELECTOR, ".burger-menu-content") + self._click(By.CSS_SELECTOR, ".return-legacy-button") click.secho("Going back to legacy version...", fg="blue") except NoSuchElementException: click.secho("Already on legacy version.", fg="blue")