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

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

Issue 346923003: Add ActionRunner wrapper for the remaining less used actions (try 2): (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update unit test to skip test if touch is not supported. Created 6 years, 5 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/reload.py
diff --git a/tools/telemetry/telemetry/page/actions/reload.py b/tools/telemetry/telemetry/page/actions/reload.py
deleted file mode 100644
index 5fd588cc7e7a51f128d9616049e8ea142c04f907..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/page/actions/reload.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from telemetry.page.actions import page_action
-
-class ReloadAction(page_action.PageAction):
- def __init__(self, attributes=None):
- super(ReloadAction, self).__init__(attributes)
-
- def RunAction(self, tab):
- tab.ExecuteJavaScript('window.location.reload()')
- tab.WaitForDocumentReadyStateToBeInteractiveOrBetter()

Powered by Google App Engine
This is Rietveld 408576698