2 Commits

Author SHA1 Message Date
huangzhenpc
7e2dd19a20 refactor: 移除调试打印信息 2025-02-10 17:09:36 +08:00
huangzhenpc
6403cd20f6 feat: 8.0.2.1版本更新主程序代码 2025-02-10 17:08:18 +08:00
2 changed files with 1 additions and 5 deletions

View File

@@ -230,16 +230,13 @@ def handle_verification_code(tab, email_handler):
while retry_count < max_retries:
try:
print(f"\n[调试] 开始第 {retry_count + 1} 次验证码处理")
if tab.ele("Account Settings", timeout=3):
print_status("注册成功 - 已进入账户设置页面", "success")
return True
if tab.ele("@data-index=0", timeout=3):
print_status("正在获取邮箱验证码...")
print(f"[调试] 开始获取验证码{email_handler}")
code = get_verification_code_with_retry(email_handler)
print(f"[调试] 获取到的验证码: {code}")
if not code:
print_status("获取验证码失败", "error")
return False
@@ -249,7 +246,6 @@ def handle_verification_code(tab, email_handler):
# 快速输入验证码
for i, digit in enumerate(code):
print(f"[调试] 输入第 {i+1} 位: {digit}")
tab.ele(f"@data-index={i}").input(digit)
time.sleep(0.1)

View File

@@ -1,4 +1,4 @@
{
"email": "12132ed@qq.com",
"last_used": "2025-02-10 16:52:55"
"last_used": "2025-02-10 17:03:43"
}