Remove unnecessary time.sleep in sign_up_account function
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user