Index: tools/perf/page_sets/tough_animation_cases.py |
diff --git a/tools/perf/page_sets/tough_animation_cases.py b/tools/perf/page_sets/tough_animation_cases.py |
index 0e5952a77e3c9f403a2b4cf57818566e357d19fd..ee8da89ff1903adecb27f07bd12b69d8cb67f9b0 100644 |
--- a/tools/perf/page_sets/tough_animation_cases.py |
+++ b/tools/perf/page_sets/tough_animation_cases.py |
@@ -17,10 +17,10 @@ class ToughAnimationCasesPage(page_module.Page): |
def RunNavigateSteps(self, action_runner): |
action_runner.NavigateToPage(self) |
if self._need_measurement_ready: |
- action_runner.RunAction(WaitAction({"javascript": "measurementReady"})) |
+ action_runner.WaitForJavaScriptCondition('measurementReady') |
def RunSmoothness(self, action_runner): |
- action_runner.RunAction(WaitAction({"seconds": 10})) |
+ action_runner.Wait(10) |
class ToughAnimationCasesPageSet(page_set_module.PageSet): |