From c3f7a11d02d94228c88927233ba2e6e7ac4c880a Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 19 Apr 2024 23:22:57 +0800 Subject: [PATCH] 2024-04-09, for hong kong events issue #221 --- chrome_tixcraft.py | 1 + nodriver_tixcraft.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/chrome_tixcraft.py b/chrome_tixcraft.py index c33e3be..179546e 100644 --- a/chrome_tixcraft.py +++ b/chrome_tixcraft.py @@ -2443,6 +2443,7 @@ def kktix_press_next_button(driver): try: #print("click on last button") but_button_list[button_count-1].click() + time.sleep(0.3) ret = True except Exception as exc: print(exc) diff --git a/nodriver_tixcraft.py b/nodriver_tixcraft.py index c8af89f..aaa080c 100644 --- a/nodriver_tixcraft.py +++ b/nodriver_tixcraft.py @@ -692,6 +692,7 @@ async def nodriver_kktix_press_next_button(tab): try: #print("click on last button") await but_button_list[button_count-1].click() + time.sleep(0.3) ret = True except Exception as exc: print(exc) @@ -768,6 +769,8 @@ async def nodriver_kktix_reg_new_main(tab, config_dict, fail_list, played_sound_ play_sound_while_ordering(config_dict) played_sound_ticket = True + is_finish_checkbox_click = await nodriver_check_checkbox(tab, 'input[type="checkbox"]') + # whole event question. fail_list, is_question_popup = await nodriver_kktix_reg_captcha(tab, config_dict, fail_list, registrationsNewApp_div)