| { |
| "description": "Chrome Endure control test for the browser.", |
| "user_agent_type": "desktop", |
| "pages": [ |
| { |
| "url": "file://endure/browser_control_click.html", |
| "name": "browser_control_click", |
| "why": "Use a JavaScript .click() call to attach and detach a DOM tree from a basic document.", |
| "navigate_steps": [ |
| { "action": "navigate" }, |
| { "action": "wait", "condition": "element", "xpath": "id(\"attach\")" } |
| ], |
| "endure": [ |
| { "action": "click_element", "xpath": "id(\"attach\")" }, |
| { "action": "wait", "seconds": 0.5 }, |
| { "action": "click_element", "xpath": "id(\"detach\")" }, |
| { "action": "wait", "seconds": 0.5 } |
| ] |
| } |
| ] |
| } |