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 cc61f7a2d2cccfa8d88d56eb94aea0ca9e37cb34..c9d0e0c72a761a6990cc9fd32d558fbac27f41da 100644 |
--- a/tools/perf/page_sets/webrtc_cases.py |
+++ b/tools/perf/page_sets/webrtc_cases.py |
@@ -49,6 +49,24 @@ class Page2(WebrtcCasesPage): |
action_runner.Wait(10) |
action_runner.ClickElement('button[id="btn3"]') |
+class Page3(WebrtcCasesPage): |
+ |
+ """ Why: Acquires a high definition local stream. """ |
+ |
+ def __init__(self, page_set): |
+ super(Page3, self).__init__( |
+ url=('http://googlechrome.github.io/webrtc/samples/web/content/' |
+ 'getusermedia-resolution/'), |
+ page_set=page_set) |
+ |
+ def RunEndure(self, action_runner): |
+ action_runner.ClickElement('button[id="hd"]') |
+ action_runner.Wait(10) |
qyearsley
2014/09/23 17:01:35
1. Might we want to remove the RunEndure method fo
phoglund_chromium
2014/09/25 11:31:58
Yeah, I double-checked and nobody calls RunEndure
|
+ |
+ def RunWebrtc(self, action_runner): |
+ action_runner.ClickElement('button[id="hd"]') |
+ action_runner.Wait(10) |
+ |
class WebrtcCasesPageSet(page_set_module.PageSet): |
@@ -56,7 +74,10 @@ class WebrtcCasesPageSet(page_set_module.PageSet): |
def __init__(self): |
super(WebrtcCasesPageSet, self).__init__( |
+ archive_data_file='data/webrtc_cases.json', |
+ bucket=page_set_module.PUBLIC_BUCKET, |
qyearsley
2014/09/23 17:01:35
I'm not very familiar what with this now, but if i
phoglund_chromium
2014/09/25 11:31:58
I copied it from another page set, so I think so.
|
serving_dirs=['third_party/webrtc/samples/js']) |
self.AddPage(Page1(self)) |
self.AddPage(Page2(self)) |
+ self.AddPage(Page3(self)) |