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

Unified Diff: tools/perf/page_sets/key_mobile_sites.py

Issue 323833003: Create ActionRunner wrapper API over TapAction and ClickElementAction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo deletion of wait_until (to be done in separate patch). Created 6 years, 6 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/perf/page_sets/key_mobile_sites.py
diff --git a/tools/perf/page_sets/key_mobile_sites.py b/tools/perf/page_sets/key_mobile_sites.py
index b2c9e91d9a66186c95ab8d19ce8cd24adab242a4..b67c5c3ca69be94cbc2b001626b3fc9074f99640 100644
--- a/tools/perf/page_sets/key_mobile_sites.py
+++ b/tools/perf/page_sets/key_mobile_sites.py
@@ -245,10 +245,7 @@ class Page16(KeyMobileSitesPage):
def RunNavigateSteps(self, action_runner):
action_runner.NavigateToPage(self)
action_runner.WaitForElement(text='Other Answers (1 - 20 of 149)')
- action_runner.RunAction(ClickElementAction(
- {
- 'text': 'Other Answers (1 - 20 of 149)'
- }))
+ action_runner.ClickElement(text='Other Answers (1 - 20 of 149)')
class Page17(KeyMobileSitesPage):

Powered by Google App Engine
This is Rietveld 408576698