Fix lcl return to legacy

This commit is contained in:
Gabriel Augendre 2022-11-05 20:34:03 +01:00
parent 57cdb596c5
commit a0395fc296

View file

@ -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")