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