Remove unnecessary time.sleep in sign_up_account function

This commit is contained in:
cheng zhen
2025-02-01 17:50:04 +08:00
parent 7f3b68ca11
commit 65c288fbe1

View File

@@ -146,7 +146,6 @@ def sign_up_account(browser, tab):
logging.error(f"密码设置失败: {str(e)}") logging.error(f"密码设置失败: {str(e)}")
return False return False
time.sleep(random.uniform(1, 3))
if tab.ele("This email is not available."): if tab.ele("This email is not available."):
logging.error("注册失败:邮箱已被使用") logging.error("注册失败:邮箱已被使用")
return False return False