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

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

Issue 323833003: Create ActionRunner wrapper API over TapAction and ClickElementAction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing to head. 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
« no previous file with comments | « tools/perf/page_sets/key_silk_cases.py ('k') | tools/perf/page_sets/polymer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/plus_alt_posts_photos.py
diff --git a/tools/perf/page_sets/plus_alt_posts_photos.py b/tools/perf/page_sets/plus_alt_posts_photos.py
index 5aa53babd4f1f1a1a1b2fe76b6e1c8895ab3b95e..aa4483852a0d4f1f7d044dde98522c28aadf06d8 100644
--- a/tools/perf/page_sets/plus_alt_posts_photos.py
+++ b/tools/perf/page_sets/plus_alt_posts_photos.py
@@ -28,17 +28,11 @@ class PlusAltPostsPhotosPage(page_module.Page):
'span[guidedhelpid="posts_tab_profile"][class*="s6U8x"]')
def RunEndure(self, action_runner):
- action_runner.RunAction(ClickElementAction(
- {
- 'selector': 'span[guidedhelpid="posts_tab_profile"]'
- }))
+ action_runner.ClickElement('span[guidedhelpid="posts_tab_profile"]')
action_runner.WaitForElement(
'span[guidedhelpid="posts_tab_profile"][class*="s6U8x"]')
action_runner.Wait(5)
- action_runner.RunAction(ClickElementAction(
- {
- 'selector': 'span[guidedhelpid="photos_tab_profile"]'
- }))
+ action_runner.ClickElement('span[guidedhelpid="photos_tab_profile"]')
action_runner.WaitForElement(
'span[guidedhelpid="photos_tab_profile"][class*="s6U8x"]')
action_runner.Wait(5)
« no previous file with comments | « tools/perf/page_sets/key_silk_cases.py ('k') | tools/perf/page_sets/polymer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698