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