Index: tools/perf/page_sets/webrtc_cases.py |
diff --git a/tools/perf/page_sets/webrtc_cases.py b/tools/perf/page_sets/webrtc_cases.py |
index 24aaab374d17dfc78088f6c16e9c58f121fe4161..e6ba71a1d3ddde344f4b322872e92ec2c63d84ff 100644 |
--- a/tools/perf/page_sets/webrtc_cases.py |
+++ b/tools/perf/page_sets/webrtc_cases.py |
@@ -38,36 +38,18 @@ class Page2(WebrtcCasesPage): |
page_set=page_set) |
def RunEndure(self, action_runner): |
- action_runner.RunAction(ClickElementAction( |
- { |
- 'selector': 'button[id="btn1"]' |
- })) |
+ action_runner.ClickElement('button[id="btn1"]') |
action_runner.Wait(2) |
- action_runner.RunAction(ClickElementAction( |
- { |
- 'selector': 'button[id="btn2"]' |
- })) |
+ action_runner.ClickElement('button[id="btn2"]') |
action_runner.Wait(10) |
- action_runner.RunAction(ClickElementAction( |
- { |
- 'selector': 'button[id="btn3"]' |
- })) |
+ action_runner.ClickElement('button[id="btn3"]') |
def RunWebrtc(self, action_runner): |
- action_runner.RunAction(ClickElementAction( |
- { |
- 'selector': 'button[id="btn1"]' |
- })) |
+ action_runner.ClickElement('button[id="btn1"]') |
action_runner.Wait(2) |
- action_runner.RunAction(ClickElementAction( |
- { |
- 'selector': 'button[id="btn2"]' |
- })) |
+ action_runner.ClickElement('button[id="btn2"]') |
action_runner.Wait(10) |
- action_runner.RunAction(ClickElementAction( |
- { |
- 'selector': 'button[id="btn3"]' |
- })) |
+ action_runner.ClickElement('button[id="btn3"]') |
class WebrtcCasesPageSet(page_set_module.PageSet): |