[orca] Updated tests



commit 2993958986a30bde6541c519789f3205251e1d95
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Sep 22 12:06:40 2015 -0400

    Updated tests

 test/keystrokes/firefox/aria_alert.py              |    1 +
 test/keystrokes/firefox/aria_alert_dialog.py       |   11 ++++++-----
 test/keystrokes/firefox/aria_button_dojo.py        |   12 ++++++------
 test/keystrokes/firefox/aria_button_toggle.py      |    2 ++
 test/keystrokes/firefox/aria_checkbox.py           |    2 ++
 test/keystrokes/firefox/aria_checkbox_dojo.py      |    2 ++
 test/keystrokes/firefox/aria_combobox_dojo.py      |    1 +
 test/keystrokes/firefox/aria_dialog_dismissed.py   |    1 +
 test/keystrokes/firefox/aria_dialog_dojo.py        |    1 +
 .../firefox/aria_editor_navigation_dojo.py         |    1 +
 test/keystrokes/firefox/aria_landmarks.py          |    1 +
 test/keystrokes/firefox/aria_list.py               |    1 +
 test/keystrokes/firefox/aria_menu.py               |    2 ++
 test/keystrokes/firefox/aria_progressbar.py        |    1 +
 test/keystrokes/firefox/aria_radiobutton.py        |    2 ++
 .../firefox/aria_roledescription_where_am_i.py     |    2 ++
 test/keystrokes/firefox/aria_slider.py             |    2 ++
 test/keystrokes/firefox/aria_slider_dojo.py        |    2 ++
 test/keystrokes/firefox/aria_slider_tpg.py         |    1 +
 test/keystrokes/firefox/aria_sliders.py            |    2 ++
 test/keystrokes/firefox/aria_spinner_dojo.py       |    1 +
 test/keystrokes/firefox/aria_tabcontainer_dojo.py  |    1 +
 test/keystrokes/firefox/aria_tabpanel.py           |    2 ++
 test/keystrokes/firefox/aria_tabpanel2.py          |    2 ++
 test/keystrokes/firefox/aria_tabpanel_text_dojo.py |    1 +
 test/keystrokes/firefox/aria_toolbar_dojo.py       |    1 +
 test/keystrokes/firefox/aria_tree.py               |    2 ++
 test/keystrokes/firefox/aria_tree_dojo.py          |    1 +
 test/keystrokes/firefox/aria_treegrid.py           |    2 ++
 test/keystrokes/firefox/find_wiki.py               |    1 +
 test/keystrokes/firefox/flat_review_combo_box.py   |    1 +
 .../firefox/flat_review_hidden_elements.py         |    2 ++
 .../keystrokes/firefox/flat_review_text_by_line.py |    2 ++
 .../firefox/flat_review_text_by_word_and_char.py   |    2 ++
 .../firefox/focus_tracking_descriptions.py         |    1 +
 test/keystrokes/firefox/focus_tracking_imagemap.py |    2 ++
 .../firefox/focus_tracking_input_type_number.py    |    1 +
 .../firefox/focus_tracking_link_child_of_body.py   |    2 ++
 test/keystrokes/firefox/focus_tracking_links.py    |    1 +
 .../focus_tracking_radios_with_label_and_name.py   |    1 +
 .../firefox/focus_tracking_roledescriptions.py     |    1 +
 test/keystrokes/firefox/html_page_summary.py       |    2 ++
 test/keystrokes/firefox/html_role_combo_box.py     |    1 +
 test/keystrokes/firefox/html_role_links.py         |    2 ++
 .../firefox/html_role_list_item_where_am_i.py      |    2 ++
 .../firefox/html_struct_nav_activate_link.py       |    1 +
 .../firefox/html_struct_nav_blockquote.py          |    1 +
 .../firefox/html_struct_nav_bug_554616.py          |    1 +
 .../firefox/html_struct_nav_bug_556470.py          |    2 ++
 .../firefox/html_struct_nav_bug_567984.py          |    2 ++
 .../firefox/html_struct_nav_bug_591592.py          |    2 ++
 .../firefox/html_struct_nav_descriptions.py        |    1 +
 .../firefox/html_struct_nav_heading_empty.py       |    1 +
 .../html_struct_nav_heading_in_div_with_text.py    |    1 +
 .../html_struct_nav_heading_with_child_text.py     |    1 +
 .../html_struct_nav_heading_with_clickable.py      |    1 +
 .../html_struct_nav_headings_buried_deep.py        |    2 ++
 ...html_struct_nav_headings_with_hidden_anchors.py |    2 ++
 .../firefox/html_struct_nav_hidden_paragraphs.py   |    2 ++
 .../firefox/html_struct_nav_large_obj.py           |    1 +
 .../html_struct_nav_link_with_child_text.py        |    1 +
 test/keystrokes/firefox/html_struct_nav_links.py   |    1 +
 .../firefox/html_struct_nav_list_item.py           |    1 +
 test/keystrokes/firefox/html_struct_nav_lists.py   |    1 +
 .../firefox/label_inference_bug_546815.py          |    2 ++
 .../firefox/label_inference_bugzilla_search.py     |    2 ++
 test/keystrokes/firefox/label_inference_entries.py |    1 +
 test/keystrokes/firefox/label_inference_mailman.py |    1 +
 test/keystrokes/firefox/line_nav_bug_546815.py     |    2 ++
 test/keystrokes/firefox/line_nav_bug_549128.py     |    2 ++
 test/keystrokes/firefox/line_nav_bug_552887a.py    |    2 ++
 test/keystrokes/firefox/line_nav_bug_554616.py     |    1 +
 test/keystrokes/firefox/line_nav_bug_555055.py     |    1 +
 test/keystrokes/firefox/line_nav_bug_570757.py     |    2 ++
 test/keystrokes/firefox/line_nav_bug_577239.py     |    2 ++
 test/keystrokes/firefox/line_nav_bug_592383.py     |    2 ++
 .../firefox/line_nav_bugzilla_search_down.py       |    2 ++
 .../firefox/line_nav_bugzilla_search_up.py         |    2 ++
 ...av_button_in_link_position_relative_on_focus.py |    2 ++
 test/keystrokes/firefox/line_nav_clickables.py     |    2 ++
 test/keystrokes/firefox/line_nav_descriptions.py   |    2 ++
 .../firefox/line_nav_display_table_cell.py         |    2 ++
 test/keystrokes/firefox/line_nav_empty_anchor.py   |    2 ++
 .../firefox/line_nav_empty_block_link.py           |    2 ++
 test/keystrokes/firefox/line_nav_empty_textarea.py |    2 ++
 test/keystrokes/firefox/line_nav_enter_bug.py      |    1 +
 test/keystrokes/firefox/line_nav_entries.py        |    2 ++
 test/keystrokes/firefox/line_nav_focused_link.py   |    2 ++
 .../firefox/line_nav_follow_same_page_link.py      |    2 ++
 .../firefox/line_nav_follow_same_page_link_2.py    |    2 ++
 .../firefox/line_nav_follow_same_page_link_3.py    |    1 +
 .../keystrokes/firefox/line_nav_heading_section.py |    2 ++
 test/keystrokes/firefox/line_nav_hidden_buttons.py |    2 ++
 .../keystrokes/firefox/line_nav_hidden_elements.py |    2 ++
 test/keystrokes/firefox/line_nav_hidden_float.py   |    2 ++
 test/keystrokes/firefox/line_nav_hidden_label.py   |    2 ++
 test/keystrokes/firefox/line_nav_hidden_links.py   |    2 ++
 .../keystrokes/firefox/line_nav_iframes_blogger.py |    2 ++
 .../firefox/line_nav_iframes_in_inline_block.py    |    2 ++
 .../firefox/line_nav_iframes_in_inline_block2.py   |    2 ++
 test/keystrokes/firefox/line_nav_iframes_nested.py |    2 ++
 test/keystrokes/firefox/line_nav_image_in_link.py  |    2 ++
 test/keystrokes/firefox/line_nav_imagemap.py       |    2 ++
 .../keystrokes/firefox/line_nav_images_in_links.py |    2 ++
 .../line_nav_images_in_table_and_floating_div.py   |    2 ++
 .../firefox/line_nav_inline_block_spans.py         |    2 ++
 .../line_nav_link_position_relative_on_focus.py    |    2 ++
 test/keystrokes/firefox/line_nav_lists.py          |    2 ++
 .../firefox/line_nav_lists_without_items.py        |    2 ++
 .../keystrokes/firefox/line_nav_multi_line_text.py |    2 ++
 test/keystrokes/firefox/line_nav_nested_tables.py  |    2 ++
 .../line_nav_offscreen_text_with_tiny_width.py     |    2 ++
 .../firefox/line_nav_paragraphs_in_links.py        |    2 ++
 test/keystrokes/firefox/line_nav_pre_lines.py      |    2 ++
 test/keystrokes/firefox/line_nav_pre_links.py      |    2 ++
 .../firefox/line_nav_roledescriptions.py           |    2 ++
 test/keystrokes/firefox/line_nav_simple_form.py    |    2 ++
 test/keystrokes/firefox/line_nav_slash_test.py     |    2 ++
 test/keystrokes/firefox/line_nav_sun_java.py       |    2 ++
 test/keystrokes/firefox/line_nav_table_captions.py |    2 ++
 .../firefox/line_nav_table_cell_links.py           |    2 ++
 .../firefox/line_nav_textarea_last_line.py         |    2 ++
 test/keystrokes/firefox/line_nav_twitter_bug.py    |    2 ++
 test/keystrokes/firefox/line_nav_wiki_down.py      |    2 ++
 test/keystrokes/firefox/line_nav_wiki_up.py        |    2 ++
 test/keystrokes/firefox/link_where_am_i.py         |    1 +
 test/keystrokes/firefox/longdesc_1.py              |    2 ++
 test/keystrokes/firefox/longdesc_10.py             |    2 ++
 test/keystrokes/firefox/longdesc_11.py             |    2 ++
 test/keystrokes/firefox/longdesc_12.py             |    1 +
 test/keystrokes/firefox/longdesc_13.py             |    2 ++
 test/keystrokes/firefox/longdesc_14.py             |    2 ++
 test/keystrokes/firefox/longdesc_15.py             |    2 ++
 test/keystrokes/firefox/longdesc_2.py              |    2 ++
 test/keystrokes/firefox/longdesc_3.py              |    2 ++
 test/keystrokes/firefox/longdesc_4.py              |    2 ++
 test/keystrokes/firefox/longdesc_5.py              |    2 ++
 test/keystrokes/firefox/longdesc_6.py              |    2 ++
 test/keystrokes/firefox/longdesc_7.py              |    2 ++
 test/keystrokes/firefox/longdesc_8.py              |    2 ++
 test/keystrokes/firefox/longdesc_9.py              |    2 ++
 test/keystrokes/firefox/math_line_nav_fraction.py  |    2 ++
 .../firefox/math_line_nav_math_in_dialog.py        |    2 ++
 .../firefox/math_line_nav_mathvariant.py           |    2 ++
 test/keystrokes/firefox/math_line_nav_menclose.py  |    2 ++
 test/keystrokes/firefox/math_line_nav_mfenced.py   |    2 ++
 test/keystrokes/firefox/math_line_nav_mroot.py     |    2 ++
 test/keystrokes/firefox/math_line_nav_mrow.py      |    2 ++
 test/keystrokes/firefox/math_line_nav_scripts.py   |    2 ++
 test/keystrokes/firefox/math_line_nav_table.py     |    2 ++
 .../firefox/math_line_nav_torture_test.py          |    2 ++
 .../firefox/mouseover_javascript_alert.py          |    1 +
 .../firefox/object_nav_descriptions_down.py        |    2 ++
 .../firefox/object_nav_descriptions_up.py          |    2 ++
 .../firefox/object_nav_link_in_quotes.py           |    2 ++
 .../keystrokes/firefox/object_nav_links_in_text.py |    2 ++
 .../keystrokes/firefox/object_nav_links_on_line.py |    2 ++
 .../firefox/object_nav_simple_form_down.py         |    2 ++
 .../firefox/object_nav_simple_form_up.py           |    2 ++
 test/keystrokes/firefox/say_all_blockquote.py      |    2 ++
 test/keystrokes/firefox/say_all_bug_511389.py      |    2 ++
 test/keystrokes/firefox/say_all_bug_591351_1.py    |    2 ++
 test/keystrokes/firefox/say_all_bugzilla_search.py |    1 +
 test/keystrokes/firefox/say_all_empty_anchor.py    |    2 ++
 test/keystrokes/firefox/say_all_enter_bug.py       |    2 ++
 test/keystrokes/firefox/say_all_entries.py         |    2 ++
 test/keystrokes/firefox/say_all_heading_section.py |    2 ++
 test/keystrokes/firefox/say_all_hidden_elements.py |    2 ++
 test/keystrokes/firefox/say_all_imagemap.py        |    2 ++
 test/keystrokes/firefox/say_all_multi_line_text.py |    1 +
 test/keystrokes/firefox/say_all_nested_tables.py   |    2 ++
 test/keystrokes/firefox/say_all_onmouseup.py       |    2 ++
 test/keystrokes/firefox/say_all_role_combo_box.py  |    2 ++
 test/keystrokes/firefox/say_all_role_links.py      |    2 ++
 test/keystrokes/firefox/say_all_role_lists.py      |    2 ++
 test/keystrokes/firefox/say_all_simple_form.py     |    2 ++
 test/keystrokes/firefox/say_all_table_caption.py   |    2 ++
 .../keystrokes/firefox/say_all_table_cell_links.py |    2 ++
 test/keystrokes/firefox/say_all_wiki.py            |    2 ++
 test/keystrokes/firefox/spelling_errors.py         |    1 +
 test/keystrokes/firefox/ui_doc_tabs.py             |    2 ++
 test/keystrokes/firefox/word_nav_links.py          |    2 ++
 test/keystrokes/firefox/word_nav_list_items.py     |    1 +
 183 files changed, 326 insertions(+), 11 deletions(-)
---
diff --git a/test/keystrokes/firefox/aria_alert.py b/test/keystrokes/firefox/aria_alert.py
index 2c06d8b..3f059ea 100644
--- a/test/keystrokes/firefox/aria_alert.py
+++ b/test/keystrokes/firefox/aria_alert.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(KeyComboAction("Tab"))
 sequence.append(KeyComboAction("Tab"))
diff --git a/test/keystrokes/firefox/aria_alert_dialog.py b/test/keystrokes/firefox/aria_alert_dialog.py
index d81d79f..eb52623 100644
--- a/test/keystrokes/firefox/aria_alert_dialog.py
+++ b/test/keystrokes/firefox/aria_alert_dialog.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(TypeAction("12"))
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Return"))
@@ -49,13 +50,13 @@ sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Return"))
 sequence.append(utils.AssertPresentationAction(
     "5. Close Alert",
-    ["BRAILLE LINE:  'Guess a number between 1 and 10 12 $l'",
-     "     VISIBLE:  'ss a number between 1 and 10 12 ', cursor=32",
+    ["BRAILLE LINE:  '12 12 $l'",
+     "     VISIBLE:  '12 12 $l', cursor=6",
      "BRAILLE LINE:  'Focus mode'",
      "     VISIBLE:  'Focus mode', cursor=0",
-     "BRAILLE LINE:  'Guess a number between 1 and 10 12 $l'",
-     "     VISIBLE:  'ss a number between 1 and 10 12 ', cursor=32",
-     "SPEECH OUTPUT: 'Guess a number between 1 and 10 entry 12 selected'",
+     "BRAILLE LINE:  '12 12 $l'",
+     "     VISIBLE:  '12 12 $l', cursor=6",
+     "SPEECH OUTPUT: '12 entry 12 selected'",
      "SPEECH OUTPUT: 'Focus mode' voice=system"]))
 
 sequence.append(utils.AssertionSummaryAction())
diff --git a/test/keystrokes/firefox/aria_button_dojo.py b/test/keystrokes/firefox/aria_button_dojo.py
index 86745d7..7d73ecb 100644
--- a/test/keystrokes/firefox/aria_button_dojo.py
+++ b/test/keystrokes/firefox/aria_button_dojo.py
@@ -5,6 +5,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(PauseAction(3000))
 
 sequence.append(utils.StartRecordingAction())
@@ -133,7 +134,7 @@ sequence.append(utils.AssertPresentationAction(
      "     VISIBLE:  'Cut', cursor=1",
      "BRAILLE LINE:  'Focus mode'",
      "     VISIBLE:  'Focus mode', cursor=0",
-     "SPEECH OUTPUT: 'Edit! menu'",
+     "SPEECH OUTPUT: 'Edit! edit title menu'",
      "SPEECH OUTPUT: 'Cut.'",
      "SPEECH OUTPUT: 'Focus mode' voice=system"]))
 
@@ -227,7 +228,6 @@ sequence.append(utils.AssertPresentationAction(
      "     VISIBLE:  'white table cell', cursor=1",
      "BRAILLE LINE:  'Focus mode'",
      "     VISIBLE:  'Focus mode', cursor=0",
-     "SPEECH OUTPUT: 'colorPalette panel'",
      "SPEECH OUTPUT: 'white.'",
      "SPEECH OUTPUT: 'Focus mode' voice=system"]))
 
@@ -256,8 +256,8 @@ sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "27. Tab to the toggle me off button",
-    ["BRAILLE LINE:  '&=y Toggle me off  toggle button'",
-     "     VISIBLE:  '&=y Toggle me off  toggle button', cursor=1",
+    ["BRAILLE LINE:  '&=y Toggle me off toggle button'",
+     "     VISIBLE:  '&=y Toggle me off toggle button', cursor=1",
      "SPEECH OUTPUT: 'Toggle me off  toggle button pressed'"]))
 
 sequence.append(utils.StartRecordingAction())
@@ -280,8 +280,8 @@ sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
     "30. Tab to the toggle me button",
-    ["BRAILLE LINE:  'Toggle me  push button'",
-     "     VISIBLE:  'Toggle me  push button', cursor=1",
+    ["BRAILLE LINE:  '&=y toggle button'",
+     "     VISIBLE:  '&=y toggle button', cursor=1",
      "SPEECH OUTPUT: 'Toggle me  push button'"]))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/aria_button_toggle.py b/test/keystrokes/firefox/aria_button_toggle.py
index b3b4770..060ad66 100644
--- a/test/keystrokes/firefox/aria_button_toggle.py
+++ b/test/keystrokes/firefox/aria_button_toggle.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/aria_checkbox.py b/test/keystrokes/firefox/aria_checkbox.py
index 4150a8a..e38535d 100644
--- a/test/keystrokes/firefox/aria_checkbox.py
+++ b/test/keystrokes/firefox/aria_checkbox.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/aria_checkbox_dojo.py b/test/keystrokes/firefox/aria_checkbox_dojo.py
index fac12bf..849b8b8 100644
--- a/test/keystrokes/firefox/aria_checkbox_dojo.py
+++ b/test/keystrokes/firefox/aria_checkbox_dojo.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/aria_combobox_dojo.py b/test/keystrokes/firefox/aria_combobox_dojo.py
index 958b6d3..c4cb4ff 100644
--- a/test/keystrokes/firefox/aria_combobox_dojo.py
+++ b/test/keystrokes/firefox/aria_combobox_dojo.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(PauseAction(5000))
 sequence.append(KeyComboAction("Tab"))
 sequence.append(KeyComboAction("Tab"))
diff --git a/test/keystrokes/firefox/aria_dialog_dismissed.py 
b/test/keystrokes/firefox/aria_dialog_dismissed.py
index 5336f8d..529ebc4 100644
--- a/test/keystrokes/firefox/aria_dialog_dismissed.py
+++ b/test/keystrokes/firefox/aria_dialog_dismissed.py
@@ -5,6 +5,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("Tab"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/aria_dialog_dojo.py b/test/keystrokes/firefox/aria_dialog_dojo.py
index 16cffa8..0d21d19 100644
--- a/test/keystrokes/firefox/aria_dialog_dojo.py
+++ b/test/keystrokes/firefox/aria_dialog_dojo.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(KeyComboAction("Tab"))
 sequence.append(KeyComboAction("Tab"))
diff --git a/test/keystrokes/firefox/aria_editor_navigation_dojo.py 
b/test/keystrokes/firefox/aria_editor_navigation_dojo.py
index 46d8ff8..909273a 100644
--- a/test/keystrokes/firefox/aria_editor_navigation_dojo.py
+++ b/test/keystrokes/firefox/aria_editor_navigation_dojo.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(PauseAction(3000))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/aria_landmarks.py b/test/keystrokes/firefox/aria_landmarks.py
index bd84d06..490a2db 100644
--- a/test/keystrokes/firefox/aria_landmarks.py
+++ b/test/keystrokes/firefox/aria_landmarks.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/aria_list.py b/test/keystrokes/firefox/aria_list.py
index a5f03b1..767ef65 100644
--- a/test/keystrokes/firefox/aria_list.py
+++ b/test/keystrokes/firefox/aria_list.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/aria_menu.py b/test/keystrokes/firefox/aria_menu.py
index c8043e5..ceab6bc 100644
--- a/test/keystrokes/firefox/aria_menu.py
+++ b/test/keystrokes/firefox/aria_menu.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/aria_progressbar.py b/test/keystrokes/firefox/aria_progressbar.py
index a82f24e..cbb5986 100644
--- a/test/keystrokes/firefox/aria_progressbar.py
+++ b/test/keystrokes/firefox/aria_progressbar.py
@@ -6,6 +6,7 @@ from macaroon.playback import *
 import utils
 
 sequence = MacroSequence()
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("Tab"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/aria_radiobutton.py b/test/keystrokes/firefox/aria_radiobutton.py
index e2e6548..c58e792 100644
--- a/test/keystrokes/firefox/aria_radiobutton.py
+++ b/test/keystrokes/firefox/aria_radiobutton.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/aria_roledescription_where_am_i.py 
b/test/keystrokes/firefox/aria_roledescription_where_am_i.py
index d6ec47a..bc3f7ce 100644
--- a/test/keystrokes/firefox/aria_roledescription_where_am_i.py
+++ b/test/keystrokes/firefox/aria_roledescription_where_am_i.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/aria_slider.py b/test/keystrokes/firefox/aria_slider.py
index aebdb90..df0682c 100644
--- a/test/keystrokes/firefox/aria_slider.py
+++ b/test/keystrokes/firefox/aria_slider.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/aria_slider_dojo.py b/test/keystrokes/firefox/aria_slider_dojo.py
index c9cf222..a67379f 100644
--- a/test/keystrokes/firefox/aria_slider_dojo.py
+++ b/test/keystrokes/firefox/aria_slider_dojo.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/aria_slider_tpg.py b/test/keystrokes/firefox/aria_slider_tpg.py
index 9acca7e..8c7bf3f 100644
--- a/test/keystrokes/firefox/aria_slider_tpg.py
+++ b/test/keystrokes/firefox/aria_slider_tpg.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(KeyComboAction("Tab"))
 
diff --git a/test/keystrokes/firefox/aria_sliders.py b/test/keystrokes/firefox/aria_sliders.py
index 7c20f67..640e5ec 100644
--- a/test/keystrokes/firefox/aria_sliders.py
+++ b/test/keystrokes/firefox/aria_sliders.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/aria_spinner_dojo.py b/test/keystrokes/firefox/aria_spinner_dojo.py
index e7fbfc2..2642b7a 100644
--- a/test/keystrokes/firefox/aria_spinner_dojo.py
+++ b/test/keystrokes/firefox/aria_spinner_dojo.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/aria_tabcontainer_dojo.py 
b/test/keystrokes/firefox/aria_tabcontainer_dojo.py
index fb2801e..bb2b2bc 100644
--- a/test/keystrokes/firefox/aria_tabcontainer_dojo.py
+++ b/test/keystrokes/firefox/aria_tabcontainer_dojo.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(PauseAction(3000))
 
diff --git a/test/keystrokes/firefox/aria_tabpanel.py b/test/keystrokes/firefox/aria_tabpanel.py
index f1136e3..0f3dc59 100644
--- a/test/keystrokes/firefox/aria_tabpanel.py
+++ b/test/keystrokes/firefox/aria_tabpanel.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/aria_tabpanel2.py b/test/keystrokes/firefox/aria_tabpanel2.py
index 4105b25..169a15a 100644
--- a/test/keystrokes/firefox/aria_tabpanel2.py
+++ b/test/keystrokes/firefox/aria_tabpanel2.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/aria_tabpanel_text_dojo.py 
b/test/keystrokes/firefox/aria_tabpanel_text_dojo.py
index b3924f5..2ccb206 100644
--- a/test/keystrokes/firefox/aria_tabpanel_text_dojo.py
+++ b/test/keystrokes/firefox/aria_tabpanel_text_dojo.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(PauseAction(3000))
 sequence.append(KeyComboAction("Tab"))
 sequence.append(KeyComboAction("Tab"))
diff --git a/test/keystrokes/firefox/aria_toolbar_dojo.py b/test/keystrokes/firefox/aria_toolbar_dojo.py
index f69bbcb..85c4c87 100644
--- a/test/keystrokes/firefox/aria_toolbar_dojo.py
+++ b/test/keystrokes/firefox/aria_toolbar_dojo.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(PauseAction(3000))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/aria_tree.py b/test/keystrokes/firefox/aria_tree.py
index d904da8..ad771fb 100644
--- a/test/keystrokes/firefox/aria_tree.py
+++ b/test/keystrokes/firefox/aria_tree.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/aria_tree_dojo.py b/test/keystrokes/firefox/aria_tree_dojo.py
index 0560c6a..bdab4b7 100644
--- a/test/keystrokes/firefox/aria_tree_dojo.py
+++ b/test/keystrokes/firefox/aria_tree_dojo.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(PauseAction(3000))
 sequence.append(KeyComboAction("Tab"))
 
diff --git a/test/keystrokes/firefox/aria_treegrid.py b/test/keystrokes/firefox/aria_treegrid.py
index dca642f..42ce795 100644
--- a/test/keystrokes/firefox/aria_treegrid.py
+++ b/test/keystrokes/firefox/aria_treegrid.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/find_wiki.py b/test/keystrokes/firefox/find_wiki.py
index 0bedf69..65fd2c8 100644
--- a/test/keystrokes/firefox/find_wiki.py
+++ b/test/keystrokes/firefox/find_wiki.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(KeyComboAction("<Control>F"))
 sequence.append(TypeAction("orca"))
diff --git a/test/keystrokes/firefox/flat_review_combo_box.py 
b/test/keystrokes/firefox/flat_review_combo_box.py
index a1a0ebf..0d1d307 100644
--- a/test/keystrokes/firefox/flat_review_combo_box.py
+++ b/test/keystrokes/firefox/flat_review_combo_box.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(KeyComboAction("Tab"))
 
diff --git a/test/keystrokes/firefox/flat_review_hidden_elements.py 
b/test/keystrokes/firefox/flat_review_hidden_elements.py
index b332f3b..2be9bcb 100644
--- a/test/keystrokes/firefox/flat_review_hidden_elements.py
+++ b/test/keystrokes/firefox/flat_review_hidden_elements.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/flat_review_text_by_line.py 
b/test/keystrokes/firefox/flat_review_text_by_line.py
index 7ae38fb..ddd9f12 100644
--- a/test/keystrokes/firefox/flat_review_text_by_line.py
+++ b/test/keystrokes/firefox/flat_review_text_by_line.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/flat_review_text_by_word_and_char.py 
b/test/keystrokes/firefox/flat_review_text_by_word_and_char.py
index aee7dae..4fabbf4 100644
--- a/test/keystrokes/firefox/flat_review_text_by_word_and_char.py
+++ b/test/keystrokes/firefox/flat_review_text_by_word_and_char.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/focus_tracking_descriptions.py 
b/test/keystrokes/firefox/focus_tracking_descriptions.py
index 30745dd..e5413eb 100644
--- a/test/keystrokes/firefox/focus_tracking_descriptions.py
+++ b/test/keystrokes/firefox/focus_tracking_descriptions.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/focus_tracking_imagemap.py 
b/test/keystrokes/firefox/focus_tracking_imagemap.py
index 0d0f3a2..685014c 100644
--- a/test/keystrokes/firefox/focus_tracking_imagemap.py
+++ b/test/keystrokes/firefox/focus_tracking_imagemap.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/focus_tracking_input_type_number.py 
b/test/keystrokes/firefox/focus_tracking_input_type_number.py
index 9b9cdb8..44db767 100644
--- a/test/keystrokes/firefox/focus_tracking_input_type_number.py
+++ b/test/keystrokes/firefox/focus_tracking_input_type_number.py
@@ -5,6 +5,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/focus_tracking_link_child_of_body.py 
b/test/keystrokes/firefox/focus_tracking_link_child_of_body.py
index aa03fde..12ca821 100644
--- a/test/keystrokes/firefox/focus_tracking_link_child_of_body.py
+++ b/test/keystrokes/firefox/focus_tracking_link_child_of_body.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/focus_tracking_links.py b/test/keystrokes/firefox/focus_tracking_links.py
index eda92d4..cf8843b 100644
--- a/test/keystrokes/firefox/focus_tracking_links.py
+++ b/test/keystrokes/firefox/focus_tracking_links.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("Tab"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/focus_tracking_radios_with_label_and_name.py 
b/test/keystrokes/firefox/focus_tracking_radios_with_label_and_name.py
index 56a8696..aa01104 100644
--- a/test/keystrokes/firefox/focus_tracking_radios_with_label_and_name.py
+++ b/test/keystrokes/firefox/focus_tracking_radios_with_label_and_name.py
@@ -5,6 +5,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/focus_tracking_roledescriptions.py 
b/test/keystrokes/firefox/focus_tracking_roledescriptions.py
index 219f979..29ac79e 100644
--- a/test/keystrokes/firefox/focus_tracking_roledescriptions.py
+++ b/test/keystrokes/firefox/focus_tracking_roledescriptions.py
@@ -5,6 +5,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/html_page_summary.py b/test/keystrokes/firefox/html_page_summary.py
index ceb8ba8..7ff599b 100644
--- a/test/keystrokes/firefox/html_page_summary.py
+++ b/test/keystrokes/firefox/html_page_summary.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(TypeAction("6"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/html_role_combo_box.py b/test/keystrokes/firefox/html_role_combo_box.py
index 090da26..523e76b 100644
--- a/test/keystrokes/firefox/html_role_combo_box.py
+++ b/test/keystrokes/firefox/html_role_combo_box.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/html_role_links.py b/test/keystrokes/firefox/html_role_links.py
index 291d0bb..924893d 100644
--- a/test/keystrokes/firefox/html_role_links.py
+++ b/test/keystrokes/firefox/html_role_links.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/html_role_list_item_where_am_i.py 
b/test/keystrokes/firefox/html_role_list_item_where_am_i.py
index d264653..4671375 100644
--- a/test/keystrokes/firefox/html_role_list_item_where_am_i.py
+++ b/test/keystrokes/firefox/html_role_list_item_where_am_i.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/html_struct_nav_activate_link.py 
b/test/keystrokes/firefox/html_struct_nav_activate_link.py
index 3d76b7a..63140fa 100644
--- a/test/keystrokes/firefox/html_struct_nav_activate_link.py
+++ b/test/keystrokes/firefox/html_struct_nav_activate_link.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/html_struct_nav_blockquote.py 
b/test/keystrokes/firefox/html_struct_nav_blockquote.py
index c64e9c9..25e7389 100644
--- a/test/keystrokes/firefox/html_struct_nav_blockquote.py
+++ b/test/keystrokes/firefox/html_struct_nav_blockquote.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/html_struct_nav_bug_554616.py 
b/test/keystrokes/firefox/html_struct_nav_bug_554616.py
index f4ef6e6..93e5b88 100644
--- a/test/keystrokes/firefox/html_struct_nav_bug_554616.py
+++ b/test/keystrokes/firefox/html_struct_nav_bug_554616.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(PauseAction(3000))
 sequence.append(KeyComboAction("<Control>Home"))
 
diff --git a/test/keystrokes/firefox/html_struct_nav_bug_556470.py 
b/test/keystrokes/firefox/html_struct_nav_bug_556470.py
index e790082..888a15c 100644
--- a/test/keystrokes/firefox/html_struct_nav_bug_556470.py
+++ b/test/keystrokes/firefox/html_struct_nav_bug_556470.py
@@ -6,6 +6,8 @@ from macaroon.playback import *
 import utils
 
 sequence = MacroSequence()
+
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/html_struct_nav_bug_567984.py 
b/test/keystrokes/firefox/html_struct_nav_bug_567984.py
index b759ffc..3f96f28 100644
--- a/test/keystrokes/firefox/html_struct_nav_bug_567984.py
+++ b/test/keystrokes/firefox/html_struct_nav_bug_567984.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/html_struct_nav_bug_591592.py 
b/test/keystrokes/firefox/html_struct_nav_bug_591592.py
index 5032f57..942e9f6 100644
--- a/test/keystrokes/firefox/html_struct_nav_bug_591592.py
+++ b/test/keystrokes/firefox/html_struct_nav_bug_591592.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/html_struct_nav_descriptions.py 
b/test/keystrokes/firefox/html_struct_nav_descriptions.py
index 0c3d4bd..6057a92 100644
--- a/test/keystrokes/firefox/html_struct_nav_descriptions.py
+++ b/test/keystrokes/firefox/html_struct_nav_descriptions.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/html_struct_nav_heading_empty.py 
b/test/keystrokes/firefox/html_struct_nav_heading_empty.py
index bfe852a..de8db14 100644
--- a/test/keystrokes/firefox/html_struct_nav_heading_empty.py
+++ b/test/keystrokes/firefox/html_struct_nav_heading_empty.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/html_struct_nav_heading_in_div_with_text.py 
b/test/keystrokes/firefox/html_struct_nav_heading_in_div_with_text.py
index 79a5ceb..ba90feb 100644
--- a/test/keystrokes/firefox/html_struct_nav_heading_in_div_with_text.py
+++ b/test/keystrokes/firefox/html_struct_nav_heading_in_div_with_text.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/html_struct_nav_heading_with_child_text.py 
b/test/keystrokes/firefox/html_struct_nav_heading_with_child_text.py
index 69fa3b9..453a0df 100644
--- a/test/keystrokes/firefox/html_struct_nav_heading_with_child_text.py
+++ b/test/keystrokes/firefox/html_struct_nav_heading_with_child_text.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/html_struct_nav_heading_with_clickable.py 
b/test/keystrokes/firefox/html_struct_nav_heading_with_clickable.py
index 54479dc..e809aef 100644
--- a/test/keystrokes/firefox/html_struct_nav_heading_with_clickable.py
+++ b/test/keystrokes/firefox/html_struct_nav_heading_with_clickable.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/html_struct_nav_headings_buried_deep.py 
b/test/keystrokes/firefox/html_struct_nav_headings_buried_deep.py
index c61fbb7..55c3ba1 100644
--- a/test/keystrokes/firefox/html_struct_nav_headings_buried_deep.py
+++ b/test/keystrokes/firefox/html_struct_nav_headings_buried_deep.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/html_struct_nav_headings_with_hidden_anchors.py 
b/test/keystrokes/firefox/html_struct_nav_headings_with_hidden_anchors.py
index d39d88a..804d487 100644
--- a/test/keystrokes/firefox/html_struct_nav_headings_with_hidden_anchors.py
+++ b/test/keystrokes/firefox/html_struct_nav_headings_with_hidden_anchors.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/html_struct_nav_hidden_paragraphs.py 
b/test/keystrokes/firefox/html_struct_nav_hidden_paragraphs.py
index aed5e48..e51ca52 100644
--- a/test/keystrokes/firefox/html_struct_nav_hidden_paragraphs.py
+++ b/test/keystrokes/firefox/html_struct_nav_hidden_paragraphs.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/html_struct_nav_large_obj.py 
b/test/keystrokes/firefox/html_struct_nav_large_obj.py
index f9e47f2..303b46b 100644
--- a/test/keystrokes/firefox/html_struct_nav_large_obj.py
+++ b/test/keystrokes/firefox/html_struct_nav_large_obj.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/html_struct_nav_link_with_child_text.py 
b/test/keystrokes/firefox/html_struct_nav_link_with_child_text.py
index d74f869..cb90475 100644
--- a/test/keystrokes/firefox/html_struct_nav_link_with_child_text.py
+++ b/test/keystrokes/firefox/html_struct_nav_link_with_child_text.py
@@ -5,6 +5,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/html_struct_nav_links.py 
b/test/keystrokes/firefox/html_struct_nav_links.py
index 59f3dc2..7539e3e 100644
--- a/test/keystrokes/firefox/html_struct_nav_links.py
+++ b/test/keystrokes/firefox/html_struct_nav_links.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(PauseAction(2000))
 sequence.append(KeyComboAction("<Control>Home"))
 
diff --git a/test/keystrokes/firefox/html_struct_nav_list_item.py 
b/test/keystrokes/firefox/html_struct_nav_list_item.py
index 01c6a52..ee882f5 100644
--- a/test/keystrokes/firefox/html_struct_nav_list_item.py
+++ b/test/keystrokes/firefox/html_struct_nav_list_item.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/html_struct_nav_lists.py 
b/test/keystrokes/firefox/html_struct_nav_lists.py
index df9b960..e9c79fc 100644
--- a/test/keystrokes/firefox/html_struct_nav_lists.py
+++ b/test/keystrokes/firefox/html_struct_nav_lists.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(PauseAction(3000))
 sequence.append(KeyComboAction("<Control>Home"))
 
diff --git a/test/keystrokes/firefox/label_inference_bug_546815.py 
b/test/keystrokes/firefox/label_inference_bug_546815.py
index a0df61e..416de91 100644
--- a/test/keystrokes/firefox/label_inference_bug_546815.py
+++ b/test/keystrokes/firefox/label_inference_bug_546815.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/label_inference_bugzilla_search.py 
b/test/keystrokes/firefox/label_inference_bugzilla_search.py
index d9f41e9..e25f86f 100644
--- a/test/keystrokes/firefox/label_inference_bugzilla_search.py
+++ b/test/keystrokes/firefox/label_inference_bugzilla_search.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/label_inference_entries.py 
b/test/keystrokes/firefox/label_inference_entries.py
index d879983..7270757 100644
--- a/test/keystrokes/firefox/label_inference_entries.py
+++ b/test/keystrokes/firefox/label_inference_entries.py
@@ -5,6 +5,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(PauseAction(3000))
 sequence.append(KeyComboAction("Tab"))
 sequence.append(KeyComboAction("<Control>Home"))
diff --git a/test/keystrokes/firefox/label_inference_mailman.py 
b/test/keystrokes/firefox/label_inference_mailman.py
index 5d8d118..2b93f6a 100644
--- a/test/keystrokes/firefox/label_inference_mailman.py
+++ b/test/keystrokes/firefox/label_inference_mailman.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/line_nav_bug_546815.py b/test/keystrokes/firefox/line_nav_bug_546815.py
index 7d5eb4f..1f22837 100644
--- a/test/keystrokes/firefox/line_nav_bug_546815.py
+++ b/test/keystrokes/firefox/line_nav_bug_546815.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_bug_549128.py b/test/keystrokes/firefox/line_nav_bug_549128.py
index 1b14919..43313bd 100644
--- a/test/keystrokes/firefox/line_nav_bug_549128.py
+++ b/test/keystrokes/firefox/line_nav_bug_549128.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_bug_552887a.py b/test/keystrokes/firefox/line_nav_bug_552887a.py
index 0be3ab2..51b55ef 100644
--- a/test/keystrokes/firefox/line_nav_bug_552887a.py
+++ b/test/keystrokes/firefox/line_nav_bug_552887a.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_bug_554616.py b/test/keystrokes/firefox/line_nav_bug_554616.py
index 0cd9b66..e31f6be 100644
--- a/test/keystrokes/firefox/line_nav_bug_554616.py
+++ b/test/keystrokes/firefox/line_nav_bug_554616.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("Tab"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/line_nav_bug_555055.py b/test/keystrokes/firefox/line_nav_bug_555055.py
index 73a5de0..e9032af 100644
--- a/test/keystrokes/firefox/line_nav_bug_555055.py
+++ b/test/keystrokes/firefox/line_nav_bug_555055.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(PauseAction(3000))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/line_nav_bug_570757.py b/test/keystrokes/firefox/line_nav_bug_570757.py
index e186041..6c74ce5 100644
--- a/test/keystrokes/firefox/line_nav_bug_570757.py
+++ b/test/keystrokes/firefox/line_nav_bug_570757.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_bug_577239.py b/test/keystrokes/firefox/line_nav_bug_577239.py
index 7046a24..640331b 100644
--- a/test/keystrokes/firefox/line_nav_bug_577239.py
+++ b/test/keystrokes/firefox/line_nav_bug_577239.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_bug_592383.py b/test/keystrokes/firefox/line_nav_bug_592383.py
index 2524447..45a18b8 100644
--- a/test/keystrokes/firefox/line_nav_bug_592383.py
+++ b/test/keystrokes/firefox/line_nav_bug_592383.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_bugzilla_search_down.py 
b/test/keystrokes/firefox/line_nav_bugzilla_search_down.py
index 77d2e09..a75d14a 100644
--- a/test/keystrokes/firefox/line_nav_bugzilla_search_down.py
+++ b/test/keystrokes/firefox/line_nav_bugzilla_search_down.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_bugzilla_search_up.py 
b/test/keystrokes/firefox/line_nav_bugzilla_search_up.py
index 10cb9ce..baa0423 100644
--- a/test/keystrokes/firefox/line_nav_bugzilla_search_up.py
+++ b/test/keystrokes/firefox/line_nav_bugzilla_search_up.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_button_in_link_position_relative_on_focus.py 
b/test/keystrokes/firefox/line_nav_button_in_link_position_relative_on_focus.py
index da184da..b18bc26 100644
--- a/test/keystrokes/firefox/line_nav_button_in_link_position_relative_on_focus.py
+++ b/test/keystrokes/firefox/line_nav_button_in_link_position_relative_on_focus.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_clickables.py b/test/keystrokes/firefox/line_nav_clickables.py
index 2ff5e04..c2e3439 100644
--- a/test/keystrokes/firefox/line_nav_clickables.py
+++ b/test/keystrokes/firefox/line_nav_clickables.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_descriptions.py 
b/test/keystrokes/firefox/line_nav_descriptions.py
index 9028c15..f252441 100644
--- a/test/keystrokes/firefox/line_nav_descriptions.py
+++ b/test/keystrokes/firefox/line_nav_descriptions.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_display_table_cell.py 
b/test/keystrokes/firefox/line_nav_display_table_cell.py
index 0e25fb7..bb56c7a 100644
--- a/test/keystrokes/firefox/line_nav_display_table_cell.py
+++ b/test/keystrokes/firefox/line_nav_display_table_cell.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_empty_anchor.py 
b/test/keystrokes/firefox/line_nav_empty_anchor.py
index b5887ac..3c16d86 100644
--- a/test/keystrokes/firefox/line_nav_empty_anchor.py
+++ b/test/keystrokes/firefox/line_nav_empty_anchor.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_empty_block_link.py 
b/test/keystrokes/firefox/line_nav_empty_block_link.py
index 8f143c7..b35faea 100644
--- a/test/keystrokes/firefox/line_nav_empty_block_link.py
+++ b/test/keystrokes/firefox/line_nav_empty_block_link.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_empty_textarea.py 
b/test/keystrokes/firefox/line_nav_empty_textarea.py
index 42dc261..fafbf2b 100644
--- a/test/keystrokes/firefox/line_nav_empty_textarea.py
+++ b/test/keystrokes/firefox/line_nav_empty_textarea.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_enter_bug.py b/test/keystrokes/firefox/line_nav_enter_bug.py
index 2d35326..05a9345 100644
--- a/test/keystrokes/firefox/line_nav_enter_bug.py
+++ b/test/keystrokes/firefox/line_nav_enter_bug.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("Tab"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/line_nav_entries.py b/test/keystrokes/firefox/line_nav_entries.py
index 7aff5a9..8930a62 100644
--- a/test/keystrokes/firefox/line_nav_entries.py
+++ b/test/keystrokes/firefox/line_nav_entries.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_focused_link.py 
b/test/keystrokes/firefox/line_nav_focused_link.py
index 8a7e511..297c93e 100644
--- a/test/keystrokes/firefox/line_nav_focused_link.py
+++ b/test/keystrokes/firefox/line_nav_focused_link.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("Tab"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_follow_same_page_link.py 
b/test/keystrokes/firefox/line_nav_follow_same_page_link.py
index c4ef4b2..85c270b 100644
--- a/test/keystrokes/firefox/line_nav_follow_same_page_link.py
+++ b/test/keystrokes/firefox/line_nav_follow_same_page_link.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_follow_same_page_link_2.py 
b/test/keystrokes/firefox/line_nav_follow_same_page_link_2.py
index b11caf3..7863541 100644
--- a/test/keystrokes/firefox/line_nav_follow_same_page_link_2.py
+++ b/test/keystrokes/firefox/line_nav_follow_same_page_link_2.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_follow_same_page_link_3.py 
b/test/keystrokes/firefox/line_nav_follow_same_page_link_3.py
index e2c1a6a..8001926 100644
--- a/test/keystrokes/firefox/line_nav_follow_same_page_link_3.py
+++ b/test/keystrokes/firefox/line_nav_follow_same_page_link_3.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(PauseAction(3000))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/line_nav_heading_section.py 
b/test/keystrokes/firefox/line_nav_heading_section.py
index dac278e..df0a0ee 100644
--- a/test/keystrokes/firefox/line_nav_heading_section.py
+++ b/test/keystrokes/firefox/line_nav_heading_section.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_hidden_buttons.py 
b/test/keystrokes/firefox/line_nav_hidden_buttons.py
index b03903e..a4f5029 100644
--- a/test/keystrokes/firefox/line_nav_hidden_buttons.py
+++ b/test/keystrokes/firefox/line_nav_hidden_buttons.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_hidden_elements.py 
b/test/keystrokes/firefox/line_nav_hidden_elements.py
index 0d25900..a815b56 100644
--- a/test/keystrokes/firefox/line_nav_hidden_elements.py
+++ b/test/keystrokes/firefox/line_nav_hidden_elements.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_hidden_float.py 
b/test/keystrokes/firefox/line_nav_hidden_float.py
index 943a08d..926f9f7 100644
--- a/test/keystrokes/firefox/line_nav_hidden_float.py
+++ b/test/keystrokes/firefox/line_nav_hidden_float.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_hidden_label.py 
b/test/keystrokes/firefox/line_nav_hidden_label.py
index fba1c25..8a802aa 100644
--- a/test/keystrokes/firefox/line_nav_hidden_label.py
+++ b/test/keystrokes/firefox/line_nav_hidden_label.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_hidden_links.py 
b/test/keystrokes/firefox/line_nav_hidden_links.py
index 2c514a7..f3921fd 100644
--- a/test/keystrokes/firefox/line_nav_hidden_links.py
+++ b/test/keystrokes/firefox/line_nav_hidden_links.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_iframes_blogger.py 
b/test/keystrokes/firefox/line_nav_iframes_blogger.py
index e5965b2..cd01def 100644
--- a/test/keystrokes/firefox/line_nav_iframes_blogger.py
+++ b/test/keystrokes/firefox/line_nav_iframes_blogger.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("e"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_iframes_in_inline_block.py 
b/test/keystrokes/firefox/line_nav_iframes_in_inline_block.py
index 83b496e..b79503c 100644
--- a/test/keystrokes/firefox/line_nav_iframes_in_inline_block.py
+++ b/test/keystrokes/firefox/line_nav_iframes_in_inline_block.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_iframes_in_inline_block2.py 
b/test/keystrokes/firefox/line_nav_iframes_in_inline_block2.py
index 1d32d56..d4f85b9 100644
--- a/test/keystrokes/firefox/line_nav_iframes_in_inline_block2.py
+++ b/test/keystrokes/firefox/line_nav_iframes_in_inline_block2.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_iframes_nested.py 
b/test/keystrokes/firefox/line_nav_iframes_nested.py
index 48612df..bae227c 100644
--- a/test/keystrokes/firefox/line_nav_iframes_nested.py
+++ b/test/keystrokes/firefox/line_nav_iframes_nested.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_image_in_link.py 
b/test/keystrokes/firefox/line_nav_image_in_link.py
index 3df4388..78668b3 100644
--- a/test/keystrokes/firefox/line_nav_image_in_link.py
+++ b/test/keystrokes/firefox/line_nav_image_in_link.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_imagemap.py b/test/keystrokes/firefox/line_nav_imagemap.py
index 2a74d94..3511be9 100644
--- a/test/keystrokes/firefox/line_nav_imagemap.py
+++ b/test/keystrokes/firefox/line_nav_imagemap.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_images_in_links.py 
b/test/keystrokes/firefox/line_nav_images_in_links.py
index adbdcf7..27c5077 100644
--- a/test/keystrokes/firefox/line_nav_images_in_links.py
+++ b/test/keystrokes/firefox/line_nav_images_in_links.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_images_in_table_and_floating_div.py 
b/test/keystrokes/firefox/line_nav_images_in_table_and_floating_div.py
index 780c801..a44ce28 100644
--- a/test/keystrokes/firefox/line_nav_images_in_table_and_floating_div.py
+++ b/test/keystrokes/firefox/line_nav_images_in_table_and_floating_div.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_inline_block_spans.py 
b/test/keystrokes/firefox/line_nav_inline_block_spans.py
index ceedc4b..12304c6 100644
--- a/test/keystrokes/firefox/line_nav_inline_block_spans.py
+++ b/test/keystrokes/firefox/line_nav_inline_block_spans.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_link_position_relative_on_focus.py 
b/test/keystrokes/firefox/line_nav_link_position_relative_on_focus.py
index 2196e88..a9ec2f8 100644
--- a/test/keystrokes/firefox/line_nav_link_position_relative_on_focus.py
+++ b/test/keystrokes/firefox/line_nav_link_position_relative_on_focus.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_lists.py b/test/keystrokes/firefox/line_nav_lists.py
index 8783ada..ebf2105 100644
--- a/test/keystrokes/firefox/line_nav_lists.py
+++ b/test/keystrokes/firefox/line_nav_lists.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_lists_without_items.py 
b/test/keystrokes/firefox/line_nav_lists_without_items.py
index 1700854..05744eb 100644
--- a/test/keystrokes/firefox/line_nav_lists_without_items.py
+++ b/test/keystrokes/firefox/line_nav_lists_without_items.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_multi_line_text.py 
b/test/keystrokes/firefox/line_nav_multi_line_text.py
index d77dc79..63d8eb0 100644
--- a/test/keystrokes/firefox/line_nav_multi_line_text.py
+++ b/test/keystrokes/firefox/line_nav_multi_line_text.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_nested_tables.py 
b/test/keystrokes/firefox/line_nav_nested_tables.py
index 2dbe6a4..6e4e8a2 100644
--- a/test/keystrokes/firefox/line_nav_nested_tables.py
+++ b/test/keystrokes/firefox/line_nav_nested_tables.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_offscreen_text_with_tiny_width.py 
b/test/keystrokes/firefox/line_nav_offscreen_text_with_tiny_width.py
index 7fa83e8..932faa2 100644
--- a/test/keystrokes/firefox/line_nav_offscreen_text_with_tiny_width.py
+++ b/test/keystrokes/firefox/line_nav_offscreen_text_with_tiny_width.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_paragraphs_in_links.py 
b/test/keystrokes/firefox/line_nav_paragraphs_in_links.py
index d552c04..4e74a59 100644
--- a/test/keystrokes/firefox/line_nav_paragraphs_in_links.py
+++ b/test/keystrokes/firefox/line_nav_paragraphs_in_links.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_pre_lines.py b/test/keystrokes/firefox/line_nav_pre_lines.py
index e4c5296..e00a8cd 100644
--- a/test/keystrokes/firefox/line_nav_pre_lines.py
+++ b/test/keystrokes/firefox/line_nav_pre_lines.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_pre_links.py b/test/keystrokes/firefox/line_nav_pre_links.py
index 71143f6..7e92a67 100644
--- a/test/keystrokes/firefox/line_nav_pre_links.py
+++ b/test/keystrokes/firefox/line_nav_pre_links.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_roledescriptions.py 
b/test/keystrokes/firefox/line_nav_roledescriptions.py
index 1f63f0c..e414124 100644
--- a/test/keystrokes/firefox/line_nav_roledescriptions.py
+++ b/test/keystrokes/firefox/line_nav_roledescriptions.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_simple_form.py b/test/keystrokes/firefox/line_nav_simple_form.py
index db18cc9..9930d69 100644
--- a/test/keystrokes/firefox/line_nav_simple_form.py
+++ b/test/keystrokes/firefox/line_nav_simple_form.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_slash_test.py b/test/keystrokes/firefox/line_nav_slash_test.py
index 28a235e..773dc8c 100644
--- a/test/keystrokes/firefox/line_nav_slash_test.py
+++ b/test/keystrokes/firefox/line_nav_slash_test.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_sun_java.py b/test/keystrokes/firefox/line_nav_sun_java.py
index 2fa4ca6..b607c33 100644
--- a/test/keystrokes/firefox/line_nav_sun_java.py
+++ b/test/keystrokes/firefox/line_nav_sun_java.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_table_captions.py 
b/test/keystrokes/firefox/line_nav_table_captions.py
index d7cddbe..e8ca6bc 100644
--- a/test/keystrokes/firefox/line_nav_table_captions.py
+++ b/test/keystrokes/firefox/line_nav_table_captions.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_table_cell_links.py 
b/test/keystrokes/firefox/line_nav_table_cell_links.py
index c155d33..abe1045 100644
--- a/test/keystrokes/firefox/line_nav_table_cell_links.py
+++ b/test/keystrokes/firefox/line_nav_table_cell_links.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_textarea_last_line.py 
b/test/keystrokes/firefox/line_nav_textarea_last_line.py
index 553a2ef..9e302ce 100644
--- a/test/keystrokes/firefox/line_nav_textarea_last_line.py
+++ b/test/keystrokes/firefox/line_nav_textarea_last_line.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_twitter_bug.py b/test/keystrokes/firefox/line_nav_twitter_bug.py
index 8096a63..01a8cc9 100644
--- a/test/keystrokes/firefox/line_nav_twitter_bug.py
+++ b/test/keystrokes/firefox/line_nav_twitter_bug.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/line_nav_wiki_down.py b/test/keystrokes/firefox/line_nav_wiki_down.py
index fca2bd0..cf09ea3 100644
--- a/test/keystrokes/firefox/line_nav_wiki_down.py
+++ b/test/keystrokes/firefox/line_nav_wiki_down.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/line_nav_wiki_up.py b/test/keystrokes/firefox/line_nav_wiki_up.py
index f1155d5..8338122 100644
--- a/test/keystrokes/firefox/line_nav_wiki_up.py
+++ b/test/keystrokes/firefox/line_nav_wiki_up.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/link_where_am_i.py b/test/keystrokes/firefox/link_where_am_i.py
index 2703279..0e2da66 100644
--- a/test/keystrokes/firefox/link_where_am_i.py
+++ b/test/keystrokes/firefox/link_where_am_i.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Shift>Tab"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/longdesc_1.py b/test/keystrokes/firefox/longdesc_1.py
index 33bc61c..6febe3e 100644
--- a/test/keystrokes/firefox/longdesc_1.py
+++ b/test/keystrokes/firefox/longdesc_1.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/longdesc_10.py b/test/keystrokes/firefox/longdesc_10.py
index 71c5d88..1a60432 100644
--- a/test/keystrokes/firefox/longdesc_10.py
+++ b/test/keystrokes/firefox/longdesc_10.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/longdesc_11.py b/test/keystrokes/firefox/longdesc_11.py
index 18ea5ba..ce5ab58 100644
--- a/test/keystrokes/firefox/longdesc_11.py
+++ b/test/keystrokes/firefox/longdesc_11.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/longdesc_12.py b/test/keystrokes/firefox/longdesc_12.py
index 25c0613..531963c 100644
--- a/test/keystrokes/firefox/longdesc_12.py
+++ b/test/keystrokes/firefox/longdesc_12.py
@@ -5,6 +5,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(PauseAction(3000))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/longdesc_13.py b/test/keystrokes/firefox/longdesc_13.py
index 05b7fbe..1af6895 100644
--- a/test/keystrokes/firefox/longdesc_13.py
+++ b/test/keystrokes/firefox/longdesc_13.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("g"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/longdesc_14.py b/test/keystrokes/firefox/longdesc_14.py
index 33bc61c..6febe3e 100644
--- a/test/keystrokes/firefox/longdesc_14.py
+++ b/test/keystrokes/firefox/longdesc_14.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/longdesc_15.py b/test/keystrokes/firefox/longdesc_15.py
index 33bc61c..6febe3e 100644
--- a/test/keystrokes/firefox/longdesc_15.py
+++ b/test/keystrokes/firefox/longdesc_15.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/longdesc_2.py b/test/keystrokes/firefox/longdesc_2.py
index 33bc61c..6febe3e 100644
--- a/test/keystrokes/firefox/longdesc_2.py
+++ b/test/keystrokes/firefox/longdesc_2.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/longdesc_3.py b/test/keystrokes/firefox/longdesc_3.py
index 9726b5b..35539ba 100644
--- a/test/keystrokes/firefox/longdesc_3.py
+++ b/test/keystrokes/firefox/longdesc_3.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/longdesc_4.py b/test/keystrokes/firefox/longdesc_4.py
index e1f2326..8c83a68 100644
--- a/test/keystrokes/firefox/longdesc_4.py
+++ b/test/keystrokes/firefox/longdesc_4.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/longdesc_5.py b/test/keystrokes/firefox/longdesc_5.py
index e1f2326..8c83a68 100644
--- a/test/keystrokes/firefox/longdesc_5.py
+++ b/test/keystrokes/firefox/longdesc_5.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/longdesc_6.py b/test/keystrokes/firefox/longdesc_6.py
index e1f2326..8c83a68 100644
--- a/test/keystrokes/firefox/longdesc_6.py
+++ b/test/keystrokes/firefox/longdesc_6.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/longdesc_7.py b/test/keystrokes/firefox/longdesc_7.py
index 9726b5b..35539ba 100644
--- a/test/keystrokes/firefox/longdesc_7.py
+++ b/test/keystrokes/firefox/longdesc_7.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/longdesc_8.py b/test/keystrokes/firefox/longdesc_8.py
index 18ea5ba..ce5ab58 100644
--- a/test/keystrokes/firefox/longdesc_8.py
+++ b/test/keystrokes/firefox/longdesc_8.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/longdesc_9.py b/test/keystrokes/firefox/longdesc_9.py
index 9726b5b..35539ba 100644
--- a/test/keystrokes/firefox/longdesc_9.py
+++ b/test/keystrokes/firefox/longdesc_9.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Enter"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/math_line_nav_fraction.py 
b/test/keystrokes/firefox/math_line_nav_fraction.py
index 3661224..c7b5acc 100644
--- a/test/keystrokes/firefox/math_line_nav_fraction.py
+++ b/test/keystrokes/firefox/math_line_nav_fraction.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/math_line_nav_math_in_dialog.py 
b/test/keystrokes/firefox/math_line_nav_math_in_dialog.py
index 98d0b16..31ba13e 100644
--- a/test/keystrokes/firefox/math_line_nav_math_in_dialog.py
+++ b/test/keystrokes/firefox/math_line_nav_math_in_dialog.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/math_line_nav_mathvariant.py 
b/test/keystrokes/firefox/math_line_nav_mathvariant.py
index cbdfe1a..465cd3a 100644
--- a/test/keystrokes/firefox/math_line_nav_mathvariant.py
+++ b/test/keystrokes/firefox/math_line_nav_mathvariant.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/math_line_nav_menclose.py 
b/test/keystrokes/firefox/math_line_nav_menclose.py
index b0b2fab..e610d1c 100644
--- a/test/keystrokes/firefox/math_line_nav_menclose.py
+++ b/test/keystrokes/firefox/math_line_nav_menclose.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/math_line_nav_mfenced.py 
b/test/keystrokes/firefox/math_line_nav_mfenced.py
index 74ca40d..64ae834 100644
--- a/test/keystrokes/firefox/math_line_nav_mfenced.py
+++ b/test/keystrokes/firefox/math_line_nav_mfenced.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/math_line_nav_mroot.py b/test/keystrokes/firefox/math_line_nav_mroot.py
index 33a7da5..d2c70dc 100644
--- a/test/keystrokes/firefox/math_line_nav_mroot.py
+++ b/test/keystrokes/firefox/math_line_nav_mroot.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/math_line_nav_mrow.py b/test/keystrokes/firefox/math_line_nav_mrow.py
index 823679b..a264f4e 100644
--- a/test/keystrokes/firefox/math_line_nav_mrow.py
+++ b/test/keystrokes/firefox/math_line_nav_mrow.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/math_line_nav_scripts.py 
b/test/keystrokes/firefox/math_line_nav_scripts.py
index 53df162..f233aa8 100644
--- a/test/keystrokes/firefox/math_line_nav_scripts.py
+++ b/test/keystrokes/firefox/math_line_nav_scripts.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/math_line_nav_table.py b/test/keystrokes/firefox/math_line_nav_table.py
index eec47eb..dd1bfb0 100644
--- a/test/keystrokes/firefox/math_line_nav_table.py
+++ b/test/keystrokes/firefox/math_line_nav_table.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/math_line_nav_torture_test.py 
b/test/keystrokes/firefox/math_line_nav_torture_test.py
index 42e2f3f..379ab27 100644
--- a/test/keystrokes/firefox/math_line_nav_torture_test.py
+++ b/test/keystrokes/firefox/math_line_nav_torture_test.py
@@ -5,6 +5,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/mouseover_javascript_alert.py 
b/test/keystrokes/firefox/mouseover_javascript_alert.py
index 95b094d..233cfac 100644
--- a/test/keystrokes/firefox/mouseover_javascript_alert.py
+++ b/test/keystrokes/firefox/mouseover_javascript_alert.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(KeyComboAction("Down"))
 
diff --git a/test/keystrokes/firefox/object_nav_descriptions_down.py 
b/test/keystrokes/firefox/object_nav_descriptions_down.py
index b43d130..e8c7d2c 100644
--- a/test/keystrokes/firefox/object_nav_descriptions_down.py
+++ b/test/keystrokes/firefox/object_nav_descriptions_down.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/object_nav_descriptions_up.py 
b/test/keystrokes/firefox/object_nav_descriptions_up.py
index 8896421..a076c85 100644
--- a/test/keystrokes/firefox/object_nav_descriptions_up.py
+++ b/test/keystrokes/firefox/object_nav_descriptions_up.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/object_nav_link_in_quotes.py 
b/test/keystrokes/firefox/object_nav_link_in_quotes.py
index 8030d26..1a66c19 100644
--- a/test/keystrokes/firefox/object_nav_link_in_quotes.py
+++ b/test/keystrokes/firefox/object_nav_link_in_quotes.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/object_nav_links_in_text.py 
b/test/keystrokes/firefox/object_nav_links_in_text.py
index bcf5eaa..62552b6 100644
--- a/test/keystrokes/firefox/object_nav_links_in_text.py
+++ b/test/keystrokes/firefox/object_nav_links_in_text.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/object_nav_links_on_line.py 
b/test/keystrokes/firefox/object_nav_links_on_line.py
index a671eaf..f8a5ba5 100644
--- a/test/keystrokes/firefox/object_nav_links_on_line.py
+++ b/test/keystrokes/firefox/object_nav_links_on_line.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/object_nav_simple_form_down.py 
b/test/keystrokes/firefox/object_nav_simple_form_down.py
index 6abaa88..9b7924c 100644
--- a/test/keystrokes/firefox/object_nav_simple_form_down.py
+++ b/test/keystrokes/firefox/object_nav_simple_form_down.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/object_nav_simple_form_up.py 
b/test/keystrokes/firefox/object_nav_simple_form_up.py
index d27a66d..e9aaf80 100644
--- a/test/keystrokes/firefox/object_nav_simple_form_up.py
+++ b/test/keystrokes/firefox/object_nav_simple_form_up.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/say_all_blockquote.py b/test/keystrokes/firefox/say_all_blockquote.py
index 8e068a0..a6bf892 100644
--- a/test/keystrokes/firefox/say_all_blockquote.py
+++ b/test/keystrokes/firefox/say_all_blockquote.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_bug_511389.py b/test/keystrokes/firefox/say_all_bug_511389.py
index f430047..3be5c13 100644
--- a/test/keystrokes/firefox/say_all_bug_511389.py
+++ b/test/keystrokes/firefox/say_all_bug_511389.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_bug_591351_1.py b/test/keystrokes/firefox/say_all_bug_591351_1.py
index 820fb26..61be46f 100644
--- a/test/keystrokes/firefox/say_all_bug_591351_1.py
+++ b/test/keystrokes/firefox/say_all_bug_591351_1.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_bugzilla_search.py 
b/test/keystrokes/firefox/say_all_bugzilla_search.py
index e51dfd1..ca90124 100644
--- a/test/keystrokes/firefox/say_all_bugzilla_search.py
+++ b/test/keystrokes/firefox/say_all_bugzilla_search.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Shift>Tab"))
 sequence.append(KeyComboAction("<Shift>Tab"))
 sequence.append(KeyComboAction("<Control>Home"))
diff --git a/test/keystrokes/firefox/say_all_empty_anchor.py b/test/keystrokes/firefox/say_all_empty_anchor.py
index 2ab6760..a137ee9 100644
--- a/test/keystrokes/firefox/say_all_empty_anchor.py
+++ b/test/keystrokes/firefox/say_all_empty_anchor.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_enter_bug.py b/test/keystrokes/firefox/say_all_enter_bug.py
index 24a26b4..1f16f73 100644
--- a/test/keystrokes/firefox/say_all_enter_bug.py
+++ b/test/keystrokes/firefox/say_all_enter_bug.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_entries.py b/test/keystrokes/firefox/say_all_entries.py
index 27e5288..5e69d63 100644
--- a/test/keystrokes/firefox/say_all_entries.py
+++ b/test/keystrokes/firefox/say_all_entries.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_heading_section.py 
b/test/keystrokes/firefox/say_all_heading_section.py
index 12cae3c..70e8e0f 100644
--- a/test/keystrokes/firefox/say_all_heading_section.py
+++ b/test/keystrokes/firefox/say_all_heading_section.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_hidden_elements.py 
b/test/keystrokes/firefox/say_all_hidden_elements.py
index 25f2247..6fc7103 100644
--- a/test/keystrokes/firefox/say_all_hidden_elements.py
+++ b/test/keystrokes/firefox/say_all_hidden_elements.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_imagemap.py b/test/keystrokes/firefox/say_all_imagemap.py
index 68c4b0c..c8aed12 100644
--- a/test/keystrokes/firefox/say_all_imagemap.py
+++ b/test/keystrokes/firefox/say_all_imagemap.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_multi_line_text.py 
b/test/keystrokes/firefox/say_all_multi_line_text.py
index 2c51a1f..5901f42 100644
--- a/test/keystrokes/firefox/say_all_multi_line_text.py
+++ b/test/keystrokes/firefox/say_all_multi_line_text.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 
 sequence.append(utils.StartRecordingAction())
diff --git a/test/keystrokes/firefox/say_all_nested_tables.py 
b/test/keystrokes/firefox/say_all_nested_tables.py
index f2cadcd..579e722 100644
--- a/test/keystrokes/firefox/say_all_nested_tables.py
+++ b/test/keystrokes/firefox/say_all_nested_tables.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_onmouseup.py b/test/keystrokes/firefox/say_all_onmouseup.py
index f81c280..94c5584 100644
--- a/test/keystrokes/firefox/say_all_onmouseup.py
+++ b/test/keystrokes/firefox/say_all_onmouseup.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_role_combo_box.py 
b/test/keystrokes/firefox/say_all_role_combo_box.py
index c63341f..c157a42 100644
--- a/test/keystrokes/firefox/say_all_role_combo_box.py
+++ b/test/keystrokes/firefox/say_all_role_combo_box.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_role_links.py b/test/keystrokes/firefox/say_all_role_links.py
index 0fe5a12..6f98e32 100644
--- a/test/keystrokes/firefox/say_all_role_links.py
+++ b/test/keystrokes/firefox/say_all_role_links.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_role_lists.py b/test/keystrokes/firefox/say_all_role_lists.py
index 58a3778..07b6770 100644
--- a/test/keystrokes/firefox/say_all_role_lists.py
+++ b/test/keystrokes/firefox/say_all_role_lists.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_simple_form.py b/test/keystrokes/firefox/say_all_simple_form.py
index ff8a67a..edc98be 100644
--- a/test/keystrokes/firefox/say_all_simple_form.py
+++ b/test/keystrokes/firefox/say_all_simple_form.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_table_caption.py 
b/test/keystrokes/firefox/say_all_table_caption.py
index 39cc67a..77e1b91 100644
--- a/test/keystrokes/firefox/say_all_table_caption.py
+++ b/test/keystrokes/firefox/say_all_table_caption.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_table_cell_links.py 
b/test/keystrokes/firefox/say_all_table_cell_links.py
index 3787ef4..33072f7 100644
--- a/test/keystrokes/firefox/say_all_table_cell_links.py
+++ b/test/keystrokes/firefox/say_all_table_cell_links.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/say_all_wiki.py b/test/keystrokes/firefox/say_all_wiki.py
index 23b3d7a..136ca6f 100644
--- a/test/keystrokes/firefox/say_all_wiki.py
+++ b/test/keystrokes/firefox/say_all_wiki.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 sequence.append(utils.StartRecordingAction())
 sequence.append(KeyComboAction("KP_Add"))
 sequence.append(utils.AssertPresentationAction(
diff --git a/test/keystrokes/firefox/spelling_errors.py b/test/keystrokes/firefox/spelling_errors.py
index 24f8b28..9b15ae8 100644
--- a/test/keystrokes/firefox/spelling_errors.py
+++ b/test/keystrokes/firefox/spelling_errors.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(KeyComboAction("Tab"))
 sequence.append(KeyComboAction("Tab"))
diff --git a/test/keystrokes/firefox/ui_doc_tabs.py b/test/keystrokes/firefox/ui_doc_tabs.py
index 6d0c4f8..14d0d1d 100644
--- a/test/keystrokes/firefox/ui_doc_tabs.py
+++ b/test/keystrokes/firefox/ui_doc_tabs.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/word_nav_links.py b/test/keystrokes/firefox/word_nav_links.py
index 3afc53f..244581b 100644
--- a/test/keystrokes/firefox/word_nav_links.py
+++ b/test/keystrokes/firefox/word_nav_links.py
@@ -7,6 +7,8 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
+
 # Work around some new quirk in Gecko that causes this test to fail if
 # run via the test harness rather than manually.
 sequence.append(KeyComboAction("<Control>r"))
diff --git a/test/keystrokes/firefox/word_nav_list_items.py b/test/keystrokes/firefox/word_nav_list_items.py
index 4da56af..bcf3936 100644
--- a/test/keystrokes/firefox/word_nav_list_items.py
+++ b/test/keystrokes/firefox/word_nav_list_items.py
@@ -7,6 +7,7 @@ import utils
 
 sequence = MacroSequence()
 
+sequence.append(WaitForDocLoad())
 sequence.append(KeyComboAction("<Control>Home"))
 sequence.append(KeyComboAction("Down"))
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]