File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2301,6 +2301,8 @@ def assert_no_js_errors(self):
2301
2301
self .__highlight_with_assert_success (messenger_post , "html" )
2302
2302
2303
2303
def __activate_html_inspector (self ):
2304
+ self .wait_for_ready_state_complete ()
2305
+ time .sleep (0.05 )
2304
2306
js_utils .activate_html_inspector (self .driver )
2305
2307
2306
2308
def inspect_html (self ):
Original file line number Diff line number Diff line change @@ -385,11 +385,11 @@ def activate_jquery_confirm(driver):
385
385
386
386
if not is_jquery_activated (driver ):
387
387
add_js_link (driver , jquery_js )
388
- wait_for_jquery_active (driver , timeout = 0.6 )
388
+ wait_for_jquery_active (driver , timeout = 0.9 )
389
389
add_css_link (driver , jq_confirm_css )
390
390
add_js_link (driver , jq_confirm_js )
391
391
392
- for x in range (7 ):
392
+ for x in range (15 ):
393
393
# jQuery-Confirm needs a small amount of time to load & activate.
394
394
try :
395
395
driver .execute_script ("jconfirm" )
@@ -408,10 +408,10 @@ def activate_html_inspector(driver):
408
408
return
409
409
if not is_jquery_activated (driver ):
410
410
add_js_link (driver , jquery_js )
411
- wait_for_jquery_active (driver , timeout = 0.6 )
411
+ wait_for_jquery_active (driver , timeout = 0.9 )
412
412
add_js_link (driver , html_inspector_js )
413
413
414
- for x in range (7 ):
414
+ for x in range (15 ):
415
415
# HTML-Inspector needs a small amount of time to load & activate.
416
416
try :
417
417
driver .execute_script ("HTMLInspector" )
You can’t perform that action at this time.
0 commit comments