Separate Simple Backend creation from initialization.
[chromium-blink-merge.git] / tools / perf / page_sets / top_25.json
blob98aa5432c09f3a812c2531827fb7300216f6b6e2
2   "description": "Pages hand-picked for 2012 CrOS scrolling tuning efforts.",
3   "archive_data_file": "../data/top_25.json",
4   "credentials_path": "../data/credentials.json",
5   "user_agent_type": "desktop",
6   "smoothness": { "action": "scroll" },
7   "pages": [
8     {
9       "url": "https://www.google.com/#hl=en&q=barack+obama",
10       "why": "top google property; a google tab is often open",
11       "wait_for_element_with_text": "Next",
12       "stress_memory": [
13         { "action": "scroll" },
14         {
15           "action": "click_element",
16           "text": "Next",
17           "wait_for_href_change": true,
18           "wait_for_element_with_text": "Next"
19         },
20         { "action": "scroll" },
21         {
22           "action": "click_element",
23           "text": "Next",
24           "wait_for_href_change": true,
25           "wait_for_element_with_text": "Next"
26         },
27         { "action": "scroll" },
28         {
29           "action": "click_element",
30           "text": "Next",
31           "wait_for_href_change": true,
32           "wait_for_element_with_text": "Previous"
33         },
34         { "action": "scroll" },
35         {
36           "action": "click_element",
37           "text": "Previous",
38           "wait_for_href_change": true,
39           "wait_for_element_with_text": "Previous"
40         },
41         { "action": "scroll" },
42         {
43           "action": "click_element",
44           "text": "Previous",
45           "wait_for_href_change": true,
46           "wait_for_element_with_text": "Previous"
47         },
48         { "action": "scroll" },
49         {
50           "action": "click_element",
51           "text": "Previous",
52           "wait_for_href_change": true,
53           "wait_for_element_with_text": "Images"
54         },
55         { "action": "scroll" },
56         {
57           "action": "click_element",
58           "text": "Images",
59           "wait_for_href_change": true,
60           "wait_for_element_with_text": "Images"
61         }
62       ]
63     },
64     {
65       "url": "https://mail.google.com/mail/",
66       "why": "productivity, top google properties",
67       "credentials": "google",
68       "wait_for_javascript_expression": "window.gmonkey !== undefined && document.getElementById('gb') !== null",
69       "smoothness": {
70         "action": "scroll",
71         "scrollable_element_function": "function(callback) { gmonkey.load('2.0', function(api) { callback(api.getScrollableElement()); }); }"
72       },
73       "stress_memory": [
74         {
75           "action": "click_element",
76           "selector": "a[href=\"https://mail.google.com/mail/u/0/?shva=1#starred\"]",
77           "wait_for_href_change": true
78         },
79         {
80           "action": "click_element",
81           "selector": "a[href=\"https://mail.google.com/mail/u/0/?shva=1#inbox\"]",
82           "wait_for_href_change": true
83         }
84       ]
85     },
86     {
87       "url": "https://www.google.com/calendar/",
88       "why": "productivity, top google properties",
89       "credentials": "google",
90       "wait_for_element_with_selector": "div[class~=\"navForward\"]",
91       "wait_seconds": 2,
92       "smoothness": {
93         "action": "scroll",
94         "scrollable_element_function": "function(callback) { callback(document.getElementById('scrolltimedeventswk')); }"
95       },
96       "stress_memory": [
97         {
98           "action": "click_element",
99           "selector": "div[class~=\"navForward\"]",
100           "wait_for_seconds": 2,
101           "wait_for_element_with_selector": "div[class~=\"navForward\"]"
102         },
103         {
104           "action": "click_element",
105           "selector": "div[class~=\"navForward\"]",
106           "wait_for_seconds": 2,
107           "wait_for_element_with_selector": "div[class~=\"navForward\"]"
108         },
109         {
110           "action": "click_element",
111           "selector": "div[class~=\"navForward\"]",
112           "wait_for_seconds": 2,
113           "wait_for_element_with_selector": "div[class~=\"navForward\"]"
114         },
115         {
116           "action": "click_element",
117           "selector": "div[class~=\"navForward\"]",
118           "wait_for_seconds": 2,
119           "wait_for_element_with_selector": "div[class~=\"navBack\"]"
120         },
121         {
122           "action": "click_element",
123           "selector": "div[class~=\"navBack\"]",
124           "wait_for_seconds": 2,
125           "wait_for_element_with_selector": "div[class~=\"navBack\"]"
126         },
127         {
128           "action": "click_element",
129           "selector": "div[class~=\"navBack\"]",
130           "wait_for_seconds": 2,
131           "wait_for_element_with_selector": "div[class~=\"navBack\"]"
132         },
133         {
134           "action": "click_element",
135           "selector": "div[class~=\"navBack\"]",
136           "wait_for_seconds": 2,
137           "wait_for_element_with_selector": "div[class~=\"navBack\"]"
138         },
139         {
140           "action": "click_element",
141           "selector": "div[class~=\"navBack\"]",
142           "wait_for_seconds": 2,
143           "wait_for_element_with_selector": "div[class~=\"navBack\"]"
144         }
145       ]
146     },
147     {
148       "url": "https://drive.google.com",
149       "why": "productivity, top google properties",
150       "credentials": "google",
151       "wait_for_javascript_expression": "document.getElementsByClassName('doclistview-list').length",
152       "smoothness": {
153         "action": "scroll",
154         "scrollable_element_function": "function(callback) { callback(document.getElementsByClassName('doclistview-list')[0]); }"
155       }
156     },
157     {
158       "name": "Docs  (1 open document tab)",
159       "url": "https://docs.google.com/document/d/1X-IKNjtEnx-WW5JIKRLsyhz5sbsat3mfTpAPUSX3_s4/view",
160       "why": "productivity, top google properties; Sample doc in the link",
161       "credentials": "google",
162       "wait_for_javascript_expression": "document.getElementsByClassName('kix-appview-editor').length",
163       "wait_seconds": 2,
164       "smoothness": {
165         "action": "scroll",
166         "scrollable_element_function": "function(callback) { callback(document.getElementsByClassName('kix-appview-editor')[0]); }"
167       }
168     },
169     {
170       "url": "https://plus.google.com/110031535020051778989/posts",
171       "why": "social; top google property; Public profile; infinite scrolls",
172       "credentials": "google",
173       "wait_for_element_with_text": "Home",
174       "smoothness": {
175         "action": "scroll",
176         "scroll_is_infinite": true
177       },
178       "stress_memory": [
179         {
180           "action": "click_element",
181           "text": "Home",
182           "wait_seconds": 2,
183           "wait_for_element_with_text": "Profile"
184         },
185         {
186           "action": "click_element",
187           "text": "Profile",
188           "wait_seconds": 2,
189           "wait_for_element_with_text": "Explore"
190         },
191         {
192           "action": "click_element",
193           "text": "Explore",
194           "wait_seconds": 2,
195           "wait_for_element_with_text": "Events"
196         },
197         {
198           "action": "click_element",
199           "text": "Events",
200           "wait_seconds": 2,
201           "wait_for_element_with_text": "Communities"
202         },
203         {
204           "action": "click_element",
205           "text": "Communities",
206           "wait_seconds": 2,
207           "wait_for_element_with_text": "Home"
208         }
209       ]
210     },
211     {
212       "url": "http://www.youtube.com",
213       "why": "#3 (Alexa global)",
214       "wait_seconds": 2,
215       "credentials": "google"
216     },
217     {
218       "name": "Blogger",
219       "url": "http://googlewebmastercentral.blogspot.com/",
220       "why": "#11 (Alexa global), google property; some blogger layouts have infinite scroll but more interesting",
221       "wait_for_element_with_text": "accessibility",
222       "stress_memory": [
223         {
224           "action": "click_element",
225           "text": "accessibility",
226           "wait_for_navigate": true,
227           "wait_for_element_with_text": "advanced"
228         },
229         { "action": "scroll" },
230         {
231           "action": "click_element",
232           "text": "advanced",
233           "wait_for_navigate": true,
234           "wait_for_element_with_text": "beginner"
235         },
236         { "action": "scroll" },
237         {
238           "action": "click_element",
239           "text": "beginner",
240           "wait_for_navigate": true,
241           "wait_for_element_with_text": "Home"
242         },
243         { "action": "scroll" },
244         {
245           "action": "click_element",
246           "text": "Home",
247           "wait_for_navigate": true,
248           "wait_for_element_with_text": "Home"
249         }
250       ]
251     },
252     {
253       "name": "Wordpress",
254       "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-picks-for-august-2012/",
255       "why": "#18 (Alexa global), Picked an interesting post",
256       "wait_for_element_with_selector": "a[href=\"http://en.blog.wordpress.com/2012/08/30/new-themes-able-and-sight/\"]",
257       "stress_memory": [
258         { "action": "scroll" },
259         {
260           "action": "click_element",
261           "selector": "a[href=\"http://en.blog.wordpress.com/2012/08/30/new-themes-able-and-sight/\"]",
262           "wait_for_navigate": true,
263           "wait_for_element_with_text": "Features"
264         },
265         { "action": "scroll" },
266         {
267           "action": "click_element",
268           "text": "Features",
269           "wait_for_navigate": true,
270           "wait_for_element_with_text": "News"
271         },
272         { "action": "scroll" },
273         {
274           "action": "click_element",
275           "text": "News",
276           "wait_for_navigate": true,
277           "wait_for_element_with_text": "News"
278         },
279         { "action": "scroll" }
280       ]
281     },
282     {
283       "name": "Facebook",
284       "url": "http://www.facebook.com/barackobama",
285       "why": "top social,Public profile",
286       "credentials": "facebook",
287       "wait_for_element_with_text": "About",
288       "smoothness": {
289         "action": "scroll",
290         "scroll_is_infinite": true
291       },
292       "stress_memory": [
293         {
294           "action": "click_element",
295           "text": "About",
296           "wait_for_navigate": true,
297           "wait_for_element_with_text": "The Audacity of Hope"
298         },
299         {
300           "action": "click_element",
301           "text": "The Audacity of Hope",
302           "wait_for_navigate": true,
303           "wait_for_element_with_text": "Back to Barack Obama's Timeline"
304         },
305         {
306           "action": "click_element",
307           "text": "Back to Barack Obama's Timeline",
308           "wait_for_navigate": true,
309           "wait_for_element_with_text": "About"
310         },
311         {
312           "action": "click_element",
313           "text": "About",
314           "wait_for_navigate": true,
315           "wait_for_element_with_text": "Elected to U.S. Senate"
316         },
317         {
318           "action": "click_element",
319           "text": "Elected to U.S. Senate",
320           "wait_for_navigate": true,
321           "wait_for_element_with_text": "Home"
322         },
323         {
324           "action": "click_element",
325           "text": "Home",
326           "wait_for_navigate": true,
327           "wait_for_element_with_text": "Home"
328         }
329       ]
330     },
331     {
332       "name": "LinkedIn",
333       "url": "http://www.linkedin.com/in/linustorvalds",
334       "why": "#12 (Alexa global),Public profile"
335     },
336     {
337       "name": "Wikipedia (1 tab)",
338       "url": "http://en.wikipedia.org/wiki/Wikipedia",
339       "why": "#6 (Alexa) most visited worldwide,Picked an interesting page"
340     },
341     {
342       "name": "Twitter",
343       "url": "http://twitter.com/katyperry",
344       "why": "#8 (Alexa global),Picked an interesting page",
345       "wait_seconds": 2,
346       "smoothness": {
347         "action": "scroll",
348         "scroll_is_infinite": true
349       }
350     },
351     {
352       "name": "Pinterest",
353       "url": "http://pinterest.com",
354       "why": "#37 (Alexa global)",
355       "smoothness": {
356         "action": "scroll",
357         "scroll_is_infinite": true
358       }
359     },
360     {
361       "name": "ESPN",
362       "url": "http://espn.go.com",
363       "why": "#1 sports"
364     },
365     {
366       "url": "http://news.yahoo.com",
367       "why": "#1 news worldwide (Alexa global)"
368     },
369     {
370       "url": "http://www.cnn.com",
371       "why": "#2 news worldwide"
372     },
373     {
374       "name": "Weather.com",
375       "url": "http://www.weather.com/weather/right-now/Mountain+View+CA+94043",
376       "why": "#7 (Alexa news); #27 total time spent,Picked interesting page"
377     },
378     {
379       "url": "http://www.amazon.com",
380       "why": "#1 world commerce website by visits; #3 commerce in the US by time spent"
381     },
382     {
383       "url": "http://www.ebay.com",
384       "why": "#1 commerce website by time spent by users in US"
385     },
386     {
387       "url": "http://games.yahoo.com",
388       "why": "#1 games according to Alexa (with actual games in it)",
389       "wait_seconds": 2
390     },
391     {
392       "url": "http://booking.com",
393       "why": "#1 Alexa recreation"
394     },
395     {
396       "url": "http://answers.yahoo.com",
397       "why": "#1 Alexa reference"
398     },
399     {
400       "url": "http://sports.yahoo.com/",
401       "why": "#1 Alexa sports"
402     },
403     {
404       "url": "http://techcrunch.com",
405       "why": "top tech blog"
406     }
407   ]