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

Unified Diff: tools/telemetry/telemetry/page/actions/seek.py

Issue 277143003: Add NavigateToPage API for action_runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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
Index: tools/telemetry/telemetry/page/actions/seek.py
diff --git a/tools/telemetry/telemetry/page/actions/seek.py b/tools/telemetry/telemetry/page/actions/seek.py
index 0b48f0639d9962130613861aaed1c6b1cfd07a57..bdc25f2d7954f2300fce88b065b1bf41ed73d2e3 100644
--- a/tools/telemetry/telemetry/page/actions/seek.py
+++ b/tools/telemetry/telemetry/page/actions/seek.py
@@ -24,12 +24,12 @@ from telemetry.page.actions import page_action
class SeekAction(media_action.MediaAction):
- def WillRunAction(self, page, tab):
+ def WillRunAction(self, tab):
"""Load the media metrics JS code prior to running the action."""
- super(SeekAction, self).WillRunAction(page, tab)
+ super(SeekAction, self).WillRunAction(tab)
self.LoadJS(tab, 'seek.js')
- def RunAction(self, page, tab):
+ def RunAction(self, tab):
try:
assert hasattr(self, 'seek_time')
selector = self.selector if hasattr(self, 'selector') else ''
« no previous file with comments | « tools/telemetry/telemetry/page/actions/scroll_unittest.py ('k') | tools/telemetry/telemetry/page/actions/seek_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698