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) |