Index: tools/perf/page_sets/key_desktop_sites.py |
diff --git a/tools/perf/page_sets/key_desktop_sites.py b/tools/perf/page_sets/key_desktop_sites.py |
index ff930d5d90677ffe6ac5bb9e0e800ab6d15d5512..8fca86e3b2319486ca17f752f0cb17d072edf813 100644 |
--- a/tools/perf/page_sets/key_desktop_sites.py |
+++ b/tools/perf/page_sets/key_desktop_sites.py |
@@ -45,7 +45,7 @@ class GmailPage(KeyDesktopSitesPage): |
def RunPageInteractions(self, action_runner): |
with action_runner.CreateGestureInteraction('ScrollAction'): |
action_runner.ScrollPage() |
- action_runner.WaitForJavaScriptCondition2( |
+ action_runner.WaitForJavaScriptCondition( |
'window.gmonkey !== undefined && ' |
'document.getElementById("gb") !== null') |
@@ -80,7 +80,7 @@ class GoogleDrivePage(KeyDesktopSitesPage): |
def RunPageInteractions(self, action_runner): |
with action_runner.CreateGestureInteraction('ScrollAction'): |
action_runner.ScrollPage() |
- action_runner.WaitForJavaScriptCondition2( |
+ action_runner.WaitForJavaScriptCondition( |
'document.getElementsByClassName("doclistview-list").length') |
@@ -101,7 +101,7 @@ class GoogleDocPage(KeyDesktopSitesPage): |
def RunPageInteractions(self, action_runner): |
with action_runner.CreateGestureInteraction('ScrollAction'): |
action_runner.ScrollPage() |
- action_runner.WaitForJavaScriptCondition2( |
+ action_runner.WaitForJavaScriptCondition( |
'document.getElementsByClassName("kix-appview-editor").length') |