feat: 增加了判断邮箱是否错误

This commit is contained in:
cheng zhen
2024-12-29 12:49:39 +08:00
parent d5944cd70e
commit b604d0cd07

View File

@@ -123,6 +123,7 @@ def delete_account(browser, tab):
tab.ele("@name=password").input(password)
print("输入密码")
time.sleep(random.uniform(1, 3))
except Exception as e:
print("输入密码失败")
@@ -141,6 +142,9 @@ def delete_account(browser, tab):
# 处理验证码
while True:
try:
if tab.ele("Invalid email or password"):
print("Invalid email or password")
return False
if tab.ele("Account Settings"):
break
if tab.ele("@data-index=0"):