@@ -239,7 +239,7 @@ def play_shepherd_tour(driver, tour_steps, msg_dur, name=None, interval=0):
239239 except Exception :
240240 js_utils .post_messenger_error_message (
241241 driver , "Tour Error: {'%s'} was not found!" % selector ,
242- msg_dur , duration = settings . SMALL_TIMEOUT )
242+ msg_dur )
243243 raise Exception (
244244 "Tour Error: {'%s'} was not found! "
245245 "Exiting due to failure on first tour step!"
@@ -308,7 +308,7 @@ def play_shepherd_tour(driver, tour_steps, msg_dur, name=None, interval=0):
308308 driver .execute_script (remove_script )
309309 js_utils .post_messenger_error_message (
310310 driver , "Tour Error: {'%s'} was not found!" % selector ,
311- msg_dur , duration = settings . SMALL_TIMEOUT )
311+ msg_dur )
312312 time .sleep (0.1 )
313313 driver .execute_script ("Shepherd.activeTour.next()" )
314314 if autoplay :
@@ -362,7 +362,7 @@ def play_bootstrap_tour(
362362 except Exception :
363363 js_utils .post_messenger_error_message (
364364 driver , "Tour Error: {'%s'} was not found!" % selector ,
365- msg_dur , duration = settings . SMALL_TIMEOUT )
365+ msg_dur )
366366 raise Exception (
367367 "Tour Error: {'%s'} was not found! "
368368 "Exiting due to failure on first tour step!"
@@ -442,7 +442,7 @@ def play_hopscotch_tour(
442442 except Exception :
443443 js_utils .post_messenger_error_message (
444444 driver , "Tour Error: {'%s'} was not found!" % selector ,
445- msg_dur , duration = settings . SMALL_TIMEOUT )
445+ msg_dur )
446446 raise Exception (
447447 "Tour Error: {'%s'} was not found! "
448448 "Exiting due to failure on first tour step!"
@@ -561,7 +561,7 @@ def play_introjs_tour(
561561 except Exception :
562562 js_utils .post_messenger_error_message (
563563 driver , "Tour Error: {'%s'} was not found!" % selector ,
564- msg_dur , duration = settings . SMALL_TIMEOUT )
564+ msg_dur )
565565 raise Exception (
566566 "Tour Error: {'%s'} was not found! "
567567 "Exiting due to failure on first tour step!"
0 commit comments