OLD | NEW |
1 { | 1 { |
2 "description": "Pages hand-picked for project Silk.", | 2 "description": "Pages hand-picked for project Silk.", |
3 "archive_data_file": "data/key_silk_cases.json", | 3 "archive_data_file": "data/key_silk_cases.json", |
4 "credentials_path": "data/credentials.json", | 4 "credentials_path": "data/credentials.json", |
5 "user_agent_type": "mobile", | 5 "user_agent_type": "mobile", |
6 "smoothness": { "action": "scroll" }, | 6 "smoothness": { "action": "scroll" }, |
7 "navigate_steps" : [ | 7 "navigate_steps" : [ |
8 { "action": "navigate" }, | 8 { "action": "navigate" }, |
9 { "action": "wait", "seconds": 2 } | 9 { "action": "wait", "seconds": 2 } |
10 ], | 10 ], |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 "navigate_steps" : [ | 324 "navigate_steps" : [ |
325 { "action": "navigate" }, | 325 { "action": "navigate" }, |
326 { "action": "wait", "seconds": 1 } | 326 { "action": "wait", "seconds": 1 } |
327 ], | 327 ], |
328 "smoothness": { | 328 "smoothness": { |
329 "action": "scroll", | 329 "action": "scroll", |
330 "scrollable_element_function": "function(callback) { callback(document.g
etElementsByClassName('container')[0]); }" | 330 "scrollable_element_function": "function(callback) { callback(document.g
etElementsByClassName('container')[0]); }" |
331 } | 331 } |
332 }, | 332 }, |
333 { | 333 { |
| 334 "disabled": "Times out on Windows; crbug.com/338838", |
334 "url": "http://plus.google.com/app/basic/stream", | 335 "url": "http://plus.google.com/app/basic/stream", |
335 "credentials": "google", | 336 "credentials": "google", |
336 "navigate_steps" : [ | 337 "navigate_steps" : [ |
337 { "action": "navigate" }, | 338 { "action": "navigate" }, |
338 { "action": "wait", "javascript": "document.getElementsByClassName('fHa'
).length > 0" }, | 339 { "action": "wait", "javascript": "document.getElementsByClassName('fHa'
).length > 0" }, |
339 { "action": "wait", "seconds": 2 } | 340 { "action": "wait", "seconds": 2 } |
340 ], | 341 ], |
341 "smoothness": { | 342 "smoothness": { |
342 "action": "scroll", | 343 "action": "scroll", |
343 "scrollable_element_function": "function(callback) { callback(document.g
etElementById('mainContent')); }" | 344 "scrollable_element_function": "function(callback) { callback(document.g
etElementById('mainContent')); }" |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 "wait_after": { "seconds": 3 } | 472 "wait_after": { "seconds": 3 } |
472 }, | 473 }, |
473 "close_signup_box": { | 474 "close_signup_box": { |
474 "action": "tap", | 475 "action": "tap", |
475 "element_function": "function(callback) { callback(document.getElementsB
yClassName('signup-hide')[0]); }", | 476 "element_function": "function(callback) { callback(document.getElementsB
yClassName('signup-hide')[0]); }", |
476 "wait_after": { "javascript": "document.getElementsByClassName('signup-h
ide')[0].getBoundingClientRect().left < 0" } | 477 "wait_after": { "javascript": "document.getElementsByClassName('signup-h
ide')[0].getBoundingClientRect().left < 0" } |
477 } | 478 } |
478 } | 479 } |
479 ] | 480 ] |
480 } | 481 } |
OLD | NEW |