Dismiss LCL welcome screen
This commit is contained in:
parent
2e0d5dc419
commit
01b486031b
1 changed files with 6 additions and 0 deletions
|
@ -53,6 +53,12 @@ class LclDownloader:
|
|||
self._click(By.CLASS_NAME, "app-cta-button")
|
||||
click.secho("Logged in!", fg="green")
|
||||
|
||||
try:
|
||||
self._click(By.CSS_SELECTOR, ".app-cta-button--primary")
|
||||
click.secho("Dismissing welcome screen...", fg="blue")
|
||||
except NoSuchElementException:
|
||||
click.secho("No welcome screen found.", fg="blue")
|
||||
|
||||
try:
|
||||
self._click(By.CSS_SELECTOR, ".burger-menu-content")
|
||||
self._click(By.CSS_SELECTOR, ".return-legacy-button")
|
||||
|
|
Loading…
Reference in a new issue