| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 "navigate_steps" : [ | 152 "navigate_steps" : [ |
| 153 { "action": "navigate" }, | 153 { "action": "navigate" }, |
| 154 { "action": "wait", "seconds": 2 } | 154 { "action": "wait", "seconds": 2 } |
| 155 ], | 155 ], |
| 156 "smoothness": { | 156 "smoothness": { |
| 157 "action": "toggle_drawer", | 157 "action": "toggle_drawer", |
| 158 "repeat": 6 | 158 "repeat": 6 |
| 159 }, | 159 }, |
| 160 "toggle_drawer": [ | 160 "toggle_drawer": [ |
| 161 { | 161 { |
| 162 "action": "click_element", | 162 "action": "tap", |
| 163 "selector": "#menu-button" | 163 "selector": "#menu-button", |
| 164 }, | 164 "wait_after": { "seconds": 1 } |
| 165 { "action": "wait", "seconds": 1 } | 165 } |
| 166 ] | 166 ] |
| 167 }, | 167 }, |
| 168 { | 168 { |
| 169 "url": "file://key_silk_cases/old_inbox_app.html?slide_drawer", | 169 "url": "file://key_silk_cases/old_inbox_app.html?slide_drawer", |
| 170 "why": "", | 170 "why": "", |
| 171 "navigate_steps" : [ | 171 "navigate_steps" : [ |
| 172 { "action": "navigate" }, | 172 { "action": "navigate" }, |
| 173 { "action": "wait", "seconds": 2 } | 173 { "action": "wait", "seconds": 2 } |
| 174 ], | 174 ], |
| 175 "smoothness": { | 175 "smoothness": { |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 { "action": "wait", "javascript": "document.getElementsByClassName('twee
t').length > 0" }, | 282 { "action": "wait", "javascript": "document.getElementsByClassName('twee
t').length > 0" }, |
| 283 { "action": "wait", "seconds": 1 } | 283 { "action": "wait", "seconds": 1 } |
| 284 ], | 284 ], |
| 285 "smoothness": { | 285 "smoothness": { |
| 286 "action": "scroll", | 286 "action": "scroll", |
| 287 "scroll_distance_function": "function() { return 5000; }" | 287 "scroll_distance_function": "function() { return 5000; }" |
| 288 } | 288 } |
| 289 } | 289 } |
| 290 ] | 290 ] |
| 291 } | 291 } |
| OLD | NEW |