Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Unified Diff: tools/perf/page_sets/page_cycler_story.py

Issue 2867283002: Wait for network quiescence in loading.mobile pages (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/page_cycler_story.py
diff --git a/tools/perf/page_sets/page_cycler_story.py b/tools/perf/page_sets/page_cycler_story.py
index bbef58ac3bd1d41da81e92cd3b217b88782aeca2..24d32011a36ca976867efde53feb1abd276f4ed3 100644
--- a/tools/perf/page_sets/page_cycler_story.py
+++ b/tools/perf/page_sets/page_cycler_story.py
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+from telemetry.core import util
from telemetry.page import page
from telemetry.page import cache_temperature as cache_temperature_module
from telemetry.page import shared_page_state
@@ -28,5 +29,5 @@ class PageCyclerStory(page.Page):
timeout_in_seconds=_NAVIGATION_TIMEOUT)
def RunPageInteractions(self, action_runner):
- action_runner.tab.WaitForDocumentReadyStateToBeComplete(
+ util.WaitFor(action_runner.tab.HasReachedQuiescence,
_WEB_CONTENTS_TIMEOUT)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698