| 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 |
| 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"}, { "action": "wait", "condition": "time", "secon
ds": 2} |
| 219 ], |
| 216 "credentials": "google" | 220 "credentials": "google" |
| 217 }, | 221 }, |
| 218 { | 222 { |
| 219 "name": "Blogger", | 223 "name": "Blogger", |
| 220 "url": "http://googlewebmastercentral.blogspot.com/", | 224 "url": "http://googlewebmastercentral.blogspot.com/", |
| 221 "why": "#11 (Alexa global), google property; some blogger layouts have inf
inite scroll but more interesting", | 225 "why": "#11 (Alexa global), google property; some blogger layouts have inf
inite scroll but more interesting", |
| 222 "wait_for_element_with_text": "accessibility", | 226 "navigate_steps" : [ |
| 227 { "action": "navigate"}, { "action": "wait", "condition": "element", "te
xt": "accessibility"} |
| 228 ], |
| 223 "stress_memory": [ | 229 "stress_memory": [ |
| 224 { | 230 { |
| 225 "action": "click_element", | 231 "action": "click_element", |
| 226 "text": "accessibility", | 232 "text": "accessibility", |
| 227 "wait_for_navigate": true, | 233 "wait_for_navigate": true |
| 228 "wait_for_element_with_text": "advanced" | |
| 229 }, | 234 }, |
| 235 { "action": "wait", "condition": "element", "text": "advanced"}, |
| 230 { "action": "scroll" }, | 236 { "action": "scroll" }, |
| 231 { | 237 { |
| 232 "action": "click_element", | 238 "action": "click_element", |
| 233 "text": "advanced", | 239 "text": "advanced", |
| 234 "wait_for_navigate": true, | 240 "wait_for_navigate": true |
| 235 "wait_for_element_with_text": "beginner" | |
| 236 }, | 241 }, |
| 242 { "action": "wait", "condition": "element", "text": "beginner"}, |
| 237 { "action": "scroll" }, | 243 { "action": "scroll" }, |
| 238 { | 244 { |
| 239 "action": "click_element", | 245 "action": "click_element", |
| 240 "text": "beginner", | 246 "text": "beginner", |
| 241 "wait_for_navigate": true, | 247 "wait_for_navigate": true |
| 242 "wait_for_element_with_text": "Home" | |
| 243 }, | 248 }, |
| 249 { "action": "wait", "condition": "element", "text": "Home"}, |
| 244 { "action": "scroll" }, | 250 { "action": "scroll" }, |
| 245 { | 251 { |
| 246 "action": "click_element", | 252 "action": "click_element", |
| 247 "text": "Home", | 253 "text": "Home", |
| 248 "wait_for_navigate": true, | 254 "wait_for_navigate": true |
| 249 "wait_for_element_with_text": "Home" | 255 }, |
| 250 } | 256 { "action": "wait", "condition": "element", "text": "Home"} |
| 251 ] | 257 ] |
| 252 }, | 258 }, |
| 253 { | 259 { |
| 254 "name": "Wordpress", | 260 "name": "Wordpress", |
| 255 "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-pi
cks-for-august-2012/", | 261 "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", | 262 "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/\"]", | 263 "navigate_steps" : [ |
| 264 { "action": "navigate"}, { "action": "wait", "condition": "element", "se
lector": "a[href=\"http://en.blog.wordpress.com/2012/08/30/new-themes-able-and-s
ight/\"]"} |
| 265 ], |
| 258 "stress_memory": [ | 266 "stress_memory": [ |
| 259 { "action": "scroll" }, | 267 { "action": "scroll" }, |
| 260 { | 268 { |
| 261 "action": "click_element", | 269 "action": "click_element", |
| 262 "selector": "a[href=\"http://en.blog.wordpress.com/2012/08/30/new-them
es-able-and-sight/\"]", | 270 "selector": "a[href=\"http://en.blog.wordpress.com/2012/08/30/new-them
es-able-and-sight/\"]", |
| 263 "wait_for_navigate": true, | 271 "wait_for_navigate": true |
| 264 "wait_for_element_with_text": "Features" | |
| 265 }, | 272 }, |
| 273 { "action": "wait", "condition": "element", "text": "Features"}, |
| 266 { "action": "scroll" }, | 274 { "action": "scroll" }, |
| 267 { | 275 { |
| 268 "action": "click_element", | 276 "action": "click_element", |
| 269 "text": "Features", | 277 "text": "Features", |
| 270 "wait_for_navigate": true, | 278 "wait_for_navigate": true |
| 271 "wait_for_element_with_text": "News" | |
| 272 }, | 279 }, |
| 280 { "action": "wait", "condition": "element", "text": "News"}, |
| 273 { "action": "scroll" }, | 281 { "action": "scroll" }, |
| 274 { | 282 { |
| 275 "action": "click_element", | 283 "action": "click_element", |
| 276 "text": "News", | 284 "text": "News", |
| 277 "wait_for_navigate": true, | 285 "wait_for_navigate": true |
| 278 "wait_for_element_with_text": "News" | |
| 279 }, | 286 }, |
| 287 { "action": "wait", "condition": "element", "text": "News" }, |
| 280 { "action": "scroll" } | 288 { "action": "scroll" } |
| 281 ] | 289 ] |
| 282 }, | 290 }, |
| 283 { | 291 { |
| 284 "name": "Facebook", | 292 "name": "Facebook", |
| 285 "url": "http://www.facebook.com/barackobama", | 293 "url": "http://www.facebook.com/barackobama", |
| 286 "why": "top social,Public profile", | 294 "why": "top social,Public profile", |
| 287 "credentials": "facebook", | 295 "credentials": "facebook", |
| 288 "wait_for_element_with_text": "About", | 296 "navigate_steps" : [ |
| 297 { "action": "navigate"}, { "action": "wait", "condition": "element", "te
xt": "About"} |
| 298 ], |
| 289 "smoothness": { | 299 "smoothness": { |
| 290 "action": "scroll", | 300 "action": "scroll", |
| 291 "scroll_is_infinite": true | 301 "scroll_is_infinite": true |
| 292 }, | 302 }, |
| 293 "stress_memory": [ | 303 "stress_memory": [ |
| 294 { | 304 { |
| 295 "action": "click_element", | 305 "action": "click_element", |
| 296 "text": "About", | 306 "text": "About", |
| 297 "wait_for_navigate": true, | 307 "wait_for_navigate": true |
| 298 "wait_for_element_with_text": "The Audacity of Hope" | |
| 299 }, | 308 }, |
| 309 { "action": "wait", "condition": "element", "text": "The Audacity of Hop
e"}, |
| 300 { | 310 { |
| 301 "action": "click_element", | 311 "action": "click_element", |
| 302 "text": "The Audacity of Hope", | 312 "text": "The Audacity of Hope", |
| 303 "wait_for_navigate": true, | 313 "wait_for_navigate": true |
| 304 "wait_for_element_with_text": "Back to Barack Obama's Timeline" | |
| 305 }, | 314 }, |
| 315 { "action": "wait", "condition": "element", "text": "Back to Barack Obam
a's Timeline"}, |
| 306 { | 316 { |
| 307 "action": "click_element", | 317 "action": "click_element", |
| 308 "text": "Back to Barack Obama's Timeline", | 318 "text": "Back to Barack Obama's Timeline", |
| 309 "wait_for_navigate": true, | 319 "wait_for_navigate": true |
| 310 "wait_for_element_with_text": "About" | |
| 311 }, | 320 }, |
| 321 { "action": "wait", "condition": "element", "text": "About"}, |
| 312 { | 322 { |
| 313 "action": "click_element", | 323 "action": "click_element", |
| 314 "text": "About", | 324 "text": "About", |
| 315 "wait_for_navigate": true, | 325 "wait_for_navigate": true |
| 316 "wait_for_element_with_text": "Elected to U.S. Senate" | |
| 317 }, | 326 }, |
| 327 { "action": "wait", "condition": "element", "text": "Elected to U.S. Sen
ate"}, |
| 318 { | 328 { |
| 319 "action": "click_element", | 329 "action": "click_element", |
| 320 "text": "Elected to U.S. Senate", | 330 "text": "Elected to U.S. Senate", |
| 321 "wait_for_navigate": true, | 331 "wait_for_navigate": true |
| 322 "wait_for_element_with_text": "Home" | |
| 323 }, | 332 }, |
| 333 { "action": "wait", "condition": "element", "text": "Home"}, |
| 324 { | 334 { |
| 325 "action": "click_element", | 335 "action": "click_element", |
| 326 "text": "Home", | 336 "text": "Home", |
| 327 "wait_for_navigate": true, | 337 "wait_for_navigate": true |
| 328 "wait_for_element_with_text": "Home" | 338 }, |
| 329 } | 339 { "action": "wait", "condition": "element", "text": "Home"} |
| 330 ] | 340 ] |
| 331 }, | 341 }, |
| 332 { | 342 { |
| 333 "name": "LinkedIn", | 343 "name": "LinkedIn", |
| 334 "url": "http://www.linkedin.com/in/linustorvalds", | 344 "url": "http://www.linkedin.com/in/linustorvalds", |
| 335 "why": "#12 (Alexa global),Public profile" | 345 "why": "#12 (Alexa global),Public profile" |
| 336 }, | 346 }, |
| 337 { | 347 { |
| 338 "name": "Wikipedia (1 tab)", | 348 "name": "Wikipedia (1 tab)", |
| 339 "url": "http://en.wikipedia.org/wiki/Wikipedia", | 349 "url": "http://en.wikipedia.org/wiki/Wikipedia", |
| 340 "why": "#6 (Alexa) most visited worldwide,Picked an interesting page" | 350 "why": "#6 (Alexa) most visited worldwide,Picked an interesting page" |
| 341 }, | 351 }, |
| 342 { | 352 { |
| 343 "name": "Twitter", | 353 "name": "Twitter", |
| 344 "url": "https://twitter.com/katyperry", | 354 "url": "https://twitter.com/katyperry", |
| 345 "why": "#8 (Alexa global),Picked an interesting page", | 355 "why": "#8 (Alexa global),Picked an interesting page", |
| 346 "wait_seconds": 2, | 356 "navigate_steps" : [ |
| 357 { "action": "navigate"}, { "action": "wait", "condition": "duration", "s
econds": 2} |
| 358 ], |
| 347 "smoothness": { | 359 "smoothness": { |
| 348 "action": "scroll", | 360 "action": "scroll", |
| 349 "scroll_is_infinite": true | 361 "scroll_is_infinite": true |
| 350 } | 362 } |
| 351 }, | 363 }, |
| 352 { | 364 { |
| 353 "name": "Pinterest", | 365 "name": "Pinterest", |
| 354 "url": "http://pinterest.com", | 366 "url": "http://pinterest.com", |
| 355 "why": "#37 (Alexa global)", | 367 "why": "#37 (Alexa global)", |
| 356 "smoothness": { | 368 "smoothness": { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 384 "url": "http://www.amazon.com", | 396 "url": "http://www.amazon.com", |
| 385 "why": "#1 world commerce website by visits; #3 commerce in the US by time
spent" | 397 "why": "#1 world commerce website by visits; #3 commerce in the US by time
spent" |
| 386 }, | 398 }, |
| 387 { | 399 { |
| 388 "url": "http://www.ebay.com", | 400 "url": "http://www.ebay.com", |
| 389 "why": "#1 commerce website by time spent by users in US" | 401 "why": "#1 commerce website by time spent by users in US" |
| 390 }, | 402 }, |
| 391 { | 403 { |
| 392 "url": "http://games.yahoo.com", | 404 "url": "http://games.yahoo.com", |
| 393 "why": "#1 games according to Alexa (with actual games in it)", | 405 "why": "#1 games according to Alexa (with actual games in it)", |
| 394 "wait_seconds": 2 | 406 "navigate_steps" : [ |
| 407 { "action": "navigate"}, { "action": "wait", "condition": "duration", "s
econds": 2} |
| 408 ] |
| 395 }, | 409 }, |
| 396 { | 410 { |
| 397 "url": "http://booking.com", | 411 "url": "http://booking.com", |
| 398 "why": "#1 Alexa recreation" | 412 "why": "#1 Alexa recreation" |
| 399 }, | 413 }, |
| 400 { | 414 { |
| 401 "url": "http://answers.yahoo.com", | 415 "url": "http://answers.yahoo.com", |
| 402 "why": "#1 Alexa reference" | 416 "why": "#1 Alexa reference" |
| 403 }, | 417 }, |
| 404 { | 418 { |
| 405 "url": "http://sports.yahoo.com/", | 419 "url": "http://sports.yahoo.com/", |
| 406 "why": "#1 Alexa sports" | 420 "why": "#1 Alexa sports" |
| 407 }, | 421 }, |
| 408 { | 422 { |
| 409 "url": "http://techcrunch.com", | 423 "url": "http://techcrunch.com", |
| 410 "why": "top tech blog" | 424 "why": "top tech blog" |
| 411 } | 425 } |
| 412 ] | 426 ] |
| 413 } | 427 } |
| OLD | NEW |