2024-04-09, for hong kong events issue #221

master
Max 2024-04-19 23:22:57 +08:00
parent fe22914be9
commit c3f7a11d02
2 changed files with 4 additions and 0 deletions

View File

@ -2443,6 +2443,7 @@ def kktix_press_next_button(driver):
try: try:
#print("click on last button") #print("click on last button")
but_button_list[button_count-1].click() but_button_list[button_count-1].click()
time.sleep(0.3)
ret = True ret = True
except Exception as exc: except Exception as exc:
print(exc) print(exc)

View File

@ -692,6 +692,7 @@ async def nodriver_kktix_press_next_button(tab):
try: try:
#print("click on last button") #print("click on last button")
await but_button_list[button_count-1].click() await but_button_list[button_count-1].click()
time.sleep(0.3)
ret = True ret = True
except Exception as exc: except Exception as exc:
print(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) play_sound_while_ordering(config_dict)
played_sound_ticket = True played_sound_ticket = True
is_finish_checkbox_click = await nodriver_check_checkbox(tab, 'input[type="checkbox"]')
# whole event question. # whole event question.
fail_list, is_question_popup = await nodriver_kktix_reg_captcha(tab, config_dict, fail_list, registrationsNewApp_div) fail_list, is_question_popup = await nodriver_kktix_reg_captcha(tab, config_dict, fail_list, registrationsNewApp_div)