Login Features¶
Module only used for the login part of the script
-
app.login.
bypass_suspicious_login
(browser)¶ Bypass suspicious loggin attempt verification. This should be only enabled when there isn’t available cookie for the username, otherwise it will and shows “Unable to locate email or phone button” message, folollowed by CRITICAL - Wrong login data!
- Args:
browser: web driver
-
app.login.
login_user
(browser, username, password, account_id, switch_language=True, bypass_suspicious_attempt=False)¶ Logins the user with the given username and password
- Args:
browser: web driver username: our username password: password switch_language: do we still need it ? bypass_suspicious_login: bypass suspicious login attempt - Returns:
- True / False