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

Unified Diff: telemetry/telemetry/internal/actions/navigate.py

Issue 2400123002: Wait a frame before finishing navigation (Closed)
Patch Set: Add method to FakeTab to fix tests Created 4 years, 2 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 | telemetry/telemetry/testing/fakes/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/actions/navigate.py
diff --git a/telemetry/telemetry/internal/actions/navigate.py b/telemetry/telemetry/internal/actions/navigate.py
index 353eb66b38067d14cb5560358cf85f4ddb7a358e..c2a81fdc759902f4db3fef5ee64a731d44f2009c 100644
--- a/telemetry/telemetry/internal/actions/navigate.py
+++ b/telemetry/telemetry/internal/actions/navigate.py
@@ -27,3 +27,4 @@ class NavigateAction(page_action.PageAction):
time_left_in_seconds = max(0, time_left_in_seconds)
tab.WaitForDocumentReadyStateToBeInteractiveOrBetter(
time_left_in_seconds)
+ tab.WaitForFrameToBeDisplayed()
« no previous file with comments | « no previous file | telemetry/telemetry/testing/fakes/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698