File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def get_correct_answer(self, browser):
66
66
browser .driver .find_element_by_xpath ('/html/body/div[2]/div/div/div[2]/div[2]/div/div[1]/div/div[2]/div[4]/div[5]/a/div/div[2]' ).click ()
67
67
68
68
self .question_answering_delay = random .randint (self .min_delay_interval ,self .max_delay_interval )
69
- print (f'Delay set to { self .question_answering_delay + 2 } seconds. (Questions answered so far: { self .question_tracker } )' )
69
+ print (f'Delay set to { self .question_answering_delay + 2 } seconds. (Questions answered so far: { self .question_tracker + 1 } )' )
70
70
time .sleep (self .question_answering_delay + 2 )
71
71
72
72
#We loop through all the buttons and we find the one with a different color than blue (that is the correct answer)
@@ -80,7 +80,7 @@ def get_correct_answer(self, browser):
80
80
def click_correct_button (self , browser , ans ):
81
81
82
82
self .question_answering_delay = random .randint (self .min_delay_interval ,self .max_delay_interval )
83
- print (f'Delay set to { self .question_answering_delay } seconds. (Questions answered so far: { self .question_tracker } )' )
83
+ print (f'Delay set to { self .question_answering_delay } seconds. (Questions answered so far: { self .question_tracker + 1 } )' )
84
84
time .sleep (self .question_answering_delay )
85
85
86
86
# Loop through every answer button and see which one matches with our potential answer
You can’t perform that action at this time.
0 commit comments