SKY-7956 Improve login prompt clarity and add invalid credentials handling (#4702)

Co-authored-by: Suchintan Singh <suchintan@skyvern.com>
This commit is contained in:
Suchintan
2026-02-11 16:47:04 -05:00
committed by GitHub
parent 8fdc7c7d32
commit a20713d994

View File

@@ -42,7 +42,8 @@ LOG = structlog.get_logger()
DEFAULT_LOGIN_PROMPT = """If you're not on the login page, navigate to login page and login using the credentials given.
First, take actions on promotional popups or cookie prompts that could prevent taking other action on the web page.
If a 2-factor step appears, enter the authentication code.
If you fail to login to find the login page or can't login after several trials, terminate.
If you fail to login or can't find the login page after several trials, terminate.
If the credentials are invalid, expired, or rejected by the website, terminate immediately and take no further actions.
If login is completed, you're successful."""