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

Unified Diff: tools/perf/page_sets/system_health/browsing_stories.py

Issue 2549093003: [tools/perf] Refactor NavigateBack implementation to use action_runner.NavigateBack (Closed)
Patch Set: Created 4 years 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/system_health/browsing_stories.py
diff --git a/tools/perf/page_sets/system_health/browsing_stories.py b/tools/perf/page_sets/system_health/browsing_stories.py
index f9be0b34829e63b12e60e0dad78b131e89f4dc95..62b843dae098dcbe2ab03b87557f3831ccf2196a 100644
--- a/tools/perf/page_sets/system_health/browsing_stories.py
+++ b/tools/perf/page_sets/system_health/browsing_stories.py
@@ -40,7 +40,7 @@ class _BrowsingStory(system_health_story.SystemHealthStory):
self._WaitForNavigation(action_runner)
def _NavigateBack(self, action_runner):
- action_runner.ExecuteJavaScript('window.history.back()')
+ action_runner.NavigateBack()
self._WaitForNavigation(action_runner)
« 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