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