Add: Handle LOGIN_ANNOUNCE in ui_additional (#2494)

This commit is contained in:
guoh064 2023-04-14 23:14:44 +08:00 committed by GitHub
parent dcd542659f
commit d86e8907a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -558,6 +558,8 @@ class UI(InfoHandler):
# Login
if self.appear_then_click(LOGIN_CHECK, offset=(30, 30), interval=3):
return True
if self.appear_then_click(LOGIN_ANNOUNCE, offset=(30, 30), interval=3):
return True
# Mistaken click
if self.appear(EXERCISE_PREPARATION, interval=3):