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

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

Issue 551863005: Added a WebRTC HD page to telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/data/webrtc_cases_000.wpr.sha1 ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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))
« no previous file with comments | « tools/perf/page_sets/data/webrtc_cases_000.wpr.sha1 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698