| { |
| "description": "Chrome Endure test for Google Calendar.", |
| "archive_data_file": "data/calendar_forward_backward.json", |
| "credentials_path": "data/credentials.json", |
| "user_agent_type": "desktop", |
| "pages": [ |
| { |
| "url": "https://www.google.com/calendar/", |
| "name": "calendar_forward_backward", |
| "why": "Click forward(4x) and backwards(4x) repeatedly", |
| "credentials": "google", |
| "navigate_steps" : [ |
| { "action": "navigate" }, |
| { "action": "wait", "seconds": 2 }, |
| { "action": "wait", "condition": "element", "selector": "div[class~=\"navForward\"]" }, |
| { "action": "javascript", "expression": "(function() { var elem = document.createElement('meta');elem.name='viewport';elem.content='initial-scale=1';document.body.appendChild(elem); })();" } |
| ], |
| "endure": [ |
| { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, |
| { "action": "wait", "seconds": 2 }, |
| { "action": "wait", "condition": "element", "selector": "div[class~=\"navForward\"]" }, |
| { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, |
| { "action": "wait", "seconds": 2 }, |
| { "action": "wait", "condition": "element", "selector": "div[class~=\"navForward\"]" }, |
| { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, |
| { "action": "wait", "seconds": 2 }, |
| { "action": "wait", "condition": "element", "selector": "div[class~=\"navForward\"]" }, |
| { "action": "click_element", "selector": "div[class~=\"navForward\"]" }, |
| { "action": "wait", "seconds": 2 }, |
| { "action": "wait", "condition": "element", "selector": "div[class~=\"navBack\"]" }, |
| { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, |
| { "action": "wait", "seconds": 2 }, |
| { "action": "wait", "condition": "element", "selector": "div[class~=\"navBack\"]" }, |
| { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, |
| { "action": "wait", "seconds": 2 }, |
| { "action": "wait", "condition": "element", "selector": "div[class~=\"navBack\"]" }, |
| { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, |
| { "action": "wait", "seconds": 2 }, |
| { "action": "wait", "condition": "element", "selector": "div[class~=\"navBack\"]" }, |
| { "action": "click_element", "selector": "div[class~=\"navBack\"]" }, |
| { "action": "wait", "seconds": 2 }, |
| { "action": "wait", "condition": "element", "selector": "div[class~=\"navForward\"]" } |
| ] |
| } |
| ] |
| } |