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

Unified Diff: tools/telemetry/telemetry/internal/actions/wait.py

Issue 1647513002: Delete tools/telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/internal/actions/wait.py
diff --git a/tools/telemetry/telemetry/internal/actions/wait.py b/tools/telemetry/telemetry/internal/actions/wait.py
deleted file mode 100644
index 3413f3c44eefe104330eb51de4270f6aa59032da..0000000000000000000000000000000000000000
--- a/tools/telemetry/telemetry/internal/actions/wait.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 2012 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.internal.actions import page_action
-
-
-class WaitForElementAction(page_action.PageAction):
- def __init__(self, selector=None, text=None, element_function=None,
- timeout_in_seconds=60):
- super(WaitForElementAction, self).__init__()
- self.selector = selector
- self.text = text
- self.element_function = element_function
- self.timeout_in_seconds = timeout_in_seconds
-
- def RunAction(self, tab):
- code = 'function(element) { return element != null; }'
- page_action.EvaluateCallbackWithElement(
- tab, code, selector=self.selector, text=self.text,
- element_function=self.element_function,
- wait=True, timeout_in_seconds=self.timeout_in_seconds)
« no previous file with comments | « tools/telemetry/telemetry/internal/actions/tap.py ('k') | tools/telemetry/telemetry/internal/app/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698