Index: tools/perf/page_sets/browser_control_click.py |
diff --git a/tools/perf/page_sets/browser_control_click.py b/tools/perf/page_sets/browser_control_click.py |
index acb4e9d5858dc306e5f5bd062e7d46c7538429e1..72c55a477cba35a0cc889ed2872184a353150f35 100644 |
--- a/tools/perf/page_sets/browser_control_click.py |
+++ b/tools/perf/page_sets/browser_control_click.py |
@@ -22,29 +22,19 @@ class BrowserControlClickPage(page_module.Page): |
def RunNavigateSteps(self, action_runner): |
action_runner.NavigateToPage(self) |
- action_runner.RunAction(WaitAction( |
- { |
- 'xpath': 'id("attach")', |
- 'condition': 'element' |
- })) |
+ action_runner.WaitForElement('#attach') |
def RunEndure(self, action_runner): |
action_runner.RunAction(ClickElementAction( |
{ |
'xpath': 'id("attach")' |
})) |
- action_runner.RunAction(WaitAction( |
- { |
- 'seconds': 0.5 |
- })) |
+ action_runner.Wait(0.5) |
action_runner.RunAction(ClickElementAction( |
{ |
'xpath': 'id("detach")' |
})) |
- action_runner.RunAction(WaitAction( |
- { |
- 'seconds': 0.5 |
- })) |
+ action_runner.Wait(0.5) |
class BrowserControlClickPageSet(page_set_module.PageSet): |