Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / tools / perf / page_sets / key_mobile_sites.json
1 {
2   "description": "Key mobile sites",
3   "archive_data_file": "data/key_mobile_sites.json",
4   "credentials_path": "data/credentials.json",
5   "user_agent_type": "mobile",
6   "smoothness": { "action": "scroll" },
7   "pages": [
8     {
9       "url": "http://www.androidpolice.com/2012/10/03/rumor-evidence-mounts-that-an-lg-optimus-g-nexus-is-coming-along-with-a-nexus-phone-certification-program/",
10       "why": "crbug.com/242544"
11     },
12     {
13       "url": "http://nytimes.com/",
14       "why": "Top news site",
15       "fastpath": true
16     },
17     {
18       "url": "http://iphone.capitolvolkswagen.com/index.htm#new-inventory_p_2Fsb-new_p_2Ehtm_p_3Freset_p_3DInventoryListing",
19       "why": "Typical mobile business site",
20       "navigate_steps": [
21         { "action": "navigate" },
22         { "action": "wait", "condition": "element", "text": "Next 35" },
23         { "action": "wait", "javascript": "document.body.scrollHeight > 2560"}
24       ]
25     },
26     {
27       "url": "http://gsp.ro",
28       "why": "crbug.com/149958"
29     },
30     {
31       "url": "http://cuteoverload.com",
32       "why": "Image-heavy site",
33       "fastpath": true
34     },
35     {
36       "url": "http://theverge.com",
37       "why": "Top tech blog"
38     },
39     {
40       "disabled": "Does not work with rasterize_and_record benchmark on N5; crbug.com/317141",
41       "url": "http://www.theverge.com/2012/10/28/3568746/amazon-7-inch-fire-hd-ipad-mini-ad-ballsy",
42       "why": "Top tech blog",
43       "navigate_steps": [
44         { "action": "navigate" },
45         { "action": "wait", "javascript": "window.Chorus !== undefined && window.Chorus.Comments !== undefined && window.Chorus.Comments.Json !== undefined && (window.Chorus.Comments.loaded || window.Chorus.Comments.Json.load_comments())" }
46       ]
47     },
48     {
49       "url": "http://www.cnn.com/2012/10/03/politics/michelle-obama-debate/index.html",
50       "why": "Top news site",
51       "navigate_steps": [
52         { "action": "navigate" },
53         { "action": "wait", "seconds": 8 }
54       ]
55     },
56     {
57       "url": "http://digg.com",
58       "why": "Top tech site"
59     },
60     {
61       "url": "https://www.google.com/#hl=en&q=barack+obama",
62       "why": "Top Google property; a Google tab is often open"
63     },
64     {
65       "url": "https://plus.google.com/app/basic/110031535020051778989/posts?source=apppromo",
66       "why": "Social; top Google property; Public profile; infinite scrolls",
67       "smoothness": {
68         "action": "scroll",
69         "scroll_is_infinite": true
70       }
71     },
72     {
73       "url": "https://facebook.com/barackobama",
74       "why": "#1 (Alexa global)",
75       "navigate_steps": [
76         { "action": "navigate" },
77         { "action": "wait", "javascript": "document.getElementById('u_0_c') !== null && document.body.scrollHeight > window.innerHeight" }
78       ]
79     },
80     {
81       "url": "http://m.youtube.com/watch?v=9hBpF_Zj4OA",
82       "why": "#3 (Alexa global)",
83       "navigate_steps": [
84         { "action": "navigate"},
85         { "action": "wait", "javascript": "document.getElementById('paginatortarget') !== null"}
86       ]
87     },
88     {
89       "name": "Blogger",
90       "url": "http://googlewebmastercentral.blogspot.com/",
91       "why": "#11 (Alexa global), google property; some blogger layouts have infinite scroll but more interesting"
92     },
93     {
94       "name": "Wordpress",
95       "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-picks-for-august-2012/",
96       "why": "#18 (Alexa global), Picked an interesting post"
97     },
98     {
99       "name": "LinkedIn",
100       "url": "https://www.linkedin.com/in/linustorvalds",
101       "why": "#12 (Alexa global),Public profile",
102       "navigate_steps": [
103         { "action": "navigate" },
104         { "action": "wait", "javascript": "document.getElementById('profile-view-scroller') !== null" }
105       ]
106     },
107     {
108       "name": "Wikipedia (1 tab)",
109       "url": "http://en.wikipedia.org/wiki/Wikipedia",
110       "why": "#6 (Alexa) most visited worldwide, picked an interesting page"
111     },
112     {
113       "disabled": "Forbidden (Rate Limit Exceeded)",
114       "name": "Twitter",
115       "url": "http://twitter.com/katyperry",
116       "why": "#8 (Alexa global), picked an interesting page"
117     },
118     {
119       "name": "Pinterest",
120       "url": "http://pinterest.com",
121       "why": "#37 (Alexa global)"
122     },
123     {
124       "disabled": "Fails often; crbug.com/249722",
125       "name": "ESPN",
126       "url": "http://espn.go.com",
127       "why": "#1 sports"
128     },
129     {
130       "url": "http://news.yahoo.com",
131       "why": "#1 news worldwide (Alexa global)"
132     },
133     {
134       "url": "http://www.cnn.com",
135       "why": "#2 news worldwide"
136     },
137     {
138       "url": "http://www.amazon.com/gp/aw/s/ref=is_box_?k=nicolas+cage",
139       "why": "#1 world commerce website by visits; #3 commerce in the US by time spent"
140     },
141     {
142       "url": "http://shop.mobileweb.ebay.com/searchresults?kw=viking+helmet",
143       "why": "#1 commerce website by time spent by users in US"
144     },
145     {
146       "url": "http://www.booking.com/searchresults.html?src=searchresults&latitude=65.0500&longitude=25.4667",
147       "why": "#1 Alexa recreation"
148     },
149     {
150       "url": "http://answers.yahoo.com/question/index?qid=20110117024343AAopj8f",
151       "why": "#1 Alexa reference",
152       "navigate_steps": [
153         { "action": "navigate" },
154         { "action": "wait", "condition": "element", "text": "Other Answers (1 - 20 of 149)" },
155         { "action": "click_element", "text": "Other Answers (1 - 20 of 149)" }
156       ]
157     },
158     {
159       "url": "http://sports.yahoo.com/",
160       "why": "#1 Alexa sports"
161     },
162     {
163       "url": "http://techcrunch.com",
164       "why": "Top tech blog"
165     },
166     {
167       "url": "https://mail.google.com/mail/",
168       "why": "productivity, top google properties",
169       "credentials": "google",
170       "navigate_steps": [
171         { "action": "navigate" },
172         { "action": "wait", "javascript": "document.getElementById('og_user_warning') !== null" },
173         { "action": "wait", "javascript": "document.getElementById('og_user_warning') === null" }
174       ],
175       "smoothness": [
176         {
177           "action": "scroll",
178           "scrollable_element_function": "function(callback) { callback(document.getElementById('views').childNodes[1].firstChild); }"
179         },
180         {
181           "action": "scroll",
182           "scrollable_element_function": "function(callback) { callback(document.getElementById('views').childNodes[1].firstChild); }"
183         }
184       ]
185     },
186     {
187       "url": "http://mlb.com/",
188       "why": "#6 Alexa sports"
189     },
190     {
191       "url": "http://www.sfgate.com/",
192       "why": "#14 Alexa California"
193     },
194     {
195       "url": "http://slashdot.org/",
196       "why": "crbug.com/169827",
197       "fastpath": true
198     },
199     {
200       "url": "http://worldjournal.com/",
201       "why": "Non-latin character set"
202     },
203     {
204       "url": "http://www.wowwiki.com/World_of_Warcraft:_Mists_of_Pandaria",
205       "why": "Mobile wiki"
206     },
207     {
208       "url": "http://online.wsj.com/home-page",
209       "why": "#15 Alexa news"
210     },
211     {
212       "url": "http://www.deviantart.com/",
213       "why": "Image-heavy mobile site"
214     },
215     {
216       "url": "http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920",
217       "why": "Top search engine"
218     },
219     {
220       "url": "http://www.bing.com/search?q=sloths",
221       "why": "Top search engine"
222     },
223     {
224       "url": "http://www.reddit.com/r/programming/comments/1g96ve",
225       "why": "#5 Alexa news",
226       "fastpath": true
227     },
228     {
229       "url": "http://www.boingboing.net",
230       "why": "Problematic use of fixed position elements",
231       "fastpath": true
232     },
233     {
234       "disabled": "Page behaves non-deterministically, replaced with test version for now",
235       "url": "http://groupcloned.com",
236       "why": "crbug.com/172906",
237       "navigate_steps": [
238         { "action": "navigate" },
239         { "action": "wait", "seconds": 5 },
240         { "action": "wait", "javascript": "document.getElementById('element-19') !== null && document.getElementById('element-19').contentDocument.getElementById('element-22') !== null && document.getElementById('element-19').contentDocument.getElementsByClassName('container list-item gc-list-item stretched').length !== 0" }
241       ],
242       "smoothness": {
243         "action": "scroll",
244         "scroll_requires_touch": true,
245         "scroll_distance_function": "function() { return Math.max(0, 1250 + document.getElementById('element-19').contentDocument.getElementById('element-22').getBoundingClientRect().top); }"
246       }
247     },
248     {
249       "url": "http://groupcloned.com/test/list-images-variable/index.html",
250       "why": "crbug.com/172906",
251       "navigate_steps": [
252         { "action": "navigate" },
253         { "action": "wait", "javascript": "document.getElementById('element-5') !== null" }
254       ],
255       "smoothness": {
256         "action": "scroll",
257         "scroll_requires_touch": true,
258         "scroll_distance_function": "function() { return Math.max(0, 1250 + document.getElementById('element-5').getBoundingClientRect().top); }"
259       }
260     },
261     {
262       "disabled": "Doesn't scroll; crbug.com/249736",
263       "url": "http://forecast.io",
264       "why": "crbug.com/231413"
265     },
266     {
267       "url": "http://mobile-news.sandbox.google.com/news/pt1",
268       "why": "Google News: accelerated scrolling version",
269       "navigate_steps": [
270         { "action": "navigate" },
271         { "action": "wait", "javascript": "typeof NEWS_telemetryReady !== 'undefined' && NEWS_telemetryReady == true" }
272       ]
273     },
274     {
275       "url": "http://mobile-news.sandbox.google.com/news/pt0",
276       "why": "Google News: this iOS version is slower than accelerated scrolling",
277       "navigate_steps": [
278         { "action": "navigate" },
279         { "action": "wait", "javascript": "document.getElementById(':h') != null" },
280         { "action": "wait", "seconds": 1 }
281       ],
282       "smoothness": {
283         "action": "scroll",
284         "scroll_requires_touch": true,
285         "scrollable_element_function": "function(callback) { callback(document.getElementById(':5')); }",
286         "remaining_scroll_distance_function": "function() { return Math.max(0, 2500 + document.getElementById(':h').getBoundingClientRect().top); }"
287       }
288     }
289   ]
290 }