OLD | NEW |
1 { | 1 { |
2 "description": "Chrome Endure test for Google Calendar.", | 2 "description": "Chrome Endure test for Google Calendar.", |
3 "archive_data_file": "data/calendar_forward_backward.json", | 3 "archive_data_file": "data/calendar_forward_backward.json", |
4 "credentials_path": "data/credentials.json", | 4 "credentials_path": "data/credentials.json", |
5 "user_agent_type": "desktop", | 5 "user_agent_type": "desktop", |
6 "pages": [ | 6 "pages": [ |
7 { | 7 { |
8 "url": "https://www.google.com/calendar/", | 8 "url": "https://www.google.com/calendar/", |
9 "name": "calendar_forward_backward", | 9 "name": "calendar_forward_backward", |
10 "why": "Click forward(4x) and backwards(4x) repeatedly", | 10 "why": "Click forward(4x) and backwards(4x) repeatedly", |
11 "credentials": "google", | 11 "credentials": "google", |
12 "navigate_steps" : [ | 12 "navigate_steps" : [ |
13 { "action": "navigate" }, | 13 { "action": "navigate" }, |
14 { "action": "wait", "seconds": 2 }, | 14 { "action": "wait", "seconds": 2 }, |
15 { "action": "wait", "condition": "element", "selector": "div[class~=\"n
avForward\"]" }, | 15 { "action": "wait", "condition": "element", "selector": "div[class~=\"n
avForward\"]" }, |
16 { "action": "javascript", "expression": "(function() { var elem = docume
nt.createElement('meta');elem.name='viewport';elem.content='initial-scale=1';doc
ument.body.appendChild(elem); })();" } | 16 { "action": "javascript", "expression": "(function() { var elem = docume
nt.createElement('meta');elem.name='viewport';elem.content='initial-scale=1';doc
ument.body.appendChild(elem); })();" } |
17 ], | 17 ], |
18 "endure": [ | 18 "endure": [ |
19 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, | 19 { "action": "javascript_click", "selector": "div[class~=\"navForward\"]"
}, |
20 { "action": "wait", "seconds": 2 }, | 20 { "action": "wait", "seconds": 2 }, |
21 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" }, | 21 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" }, |
22 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, | 22 { "action": "javascript_click", "selector": "div[class~=\"navForward\"]"
}, |
23 { "action": "wait", "seconds": 2 }, | 23 { "action": "wait", "seconds": 2 }, |
24 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" }, | 24 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" }, |
25 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, | 25 { "action": "javascript_click", "selector": "div[class~=\"navForward\"]"
}, |
26 { "action": "wait", "seconds": 2 }, | 26 { "action": "wait", "seconds": 2 }, |
27 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" }, | 27 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" }, |
28 { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, | 28 { "action": "javascript_click", "selector": "div[class~=\"navForward\"]"
}, |
29 { "action": "wait", "seconds": 2 }, | 29 { "action": "wait", "seconds": 2 }, |
30 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, | 30 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, |
31 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, | 31 { "action": "javascript_click", "selector": "div[class~=\"navBack\"]" }, |
32 { "action": "wait", "seconds": 2 }, | 32 { "action": "wait", "seconds": 2 }, |
33 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, | 33 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, |
34 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, | 34 { "action": "javascript_click", "selector": "div[class~=\"navBack\"]" }, |
35 { "action": "wait", "seconds": 2 }, | 35 { "action": "wait", "seconds": 2 }, |
36 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, | 36 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, |
37 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, | 37 { "action": "javascript_click", "selector": "div[class~=\"navBack\"]" }, |
38 { "action": "wait", "seconds": 2 }, | 38 { "action": "wait", "seconds": 2 }, |
39 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, | 39 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vBack\"]" }, |
40 { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, | 40 { "action": "javascript_click", "selector": "div[class~=\"navBack\"]" }, |
41 { "action": "wait", "seconds": 2 }, | 41 { "action": "wait", "seconds": 2 }, |
42 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" } | 42 { "action": "wait", "condition": "element", "selector": "div[class~=\"na
vForward\"]" } |
43 ] | 43 ] |
44 } | 44 } |
45 ] | 45 ] |
46 } | 46 } |
OLD | NEW |