| OLD | NEW |
| 1 { | 1 { |
| 2 "description": "Chrome Endure control test for the browser.", | 2 "description": "Chrome Endure control test for the browser.", |
| 3 "user_agent_type": "desktop", | 3 "user_agent_type": "desktop", |
| 4 "pages": [ | 4 "pages": [ |
| 5 { | 5 { |
| 6 "url": "file://endure/browser_control_click.html", | 6 "url": "file://endure/browser_control_click.html", |
| 7 "name": "browser_control_click", | 7 "name": "browser_control_click", |
| 8 "why": "Use a JavaScript .click() call to attach and detach a DOM tree fro
m a basic document.", | 8 "why": "Use a JavaScript .click() call to attach and detach a DOM tree fro
m a basic document.", |
| 9 "navigate_steps": [ | 9 "navigate_steps": [ |
| 10 { "action": "navigate" }, | 10 { "action": "navigate" }, |
| 11 { "action": "wait", "condition": "element", "xpath": "id(\"attach\")" } | 11 { "action": "wait", "condition": "element", "xpath": "id(\"attach\")" } |
| 12 ], | 12 ], |
| 13 "endure": [ | 13 "endure": [ |
| 14 { "action": "click_element", "xpath": "id(\"attach\")" }, | 14 { "action": "javascript_click", "xpath": "id(\"attach\")" }, |
| 15 { "action": "wait", "seconds": 0.5 }, | 15 { "action": "wait", "seconds": 0.5 }, |
| 16 { "action": "click_element", "xpath": "id(\"detach\")" }, | 16 { "action": "javascript_click", "xpath": "id(\"detach\")" }, |
| 17 { "action": "wait", "seconds": 0.5 } | 17 { "action": "wait", "seconds": 0.5 } |
| 18 ] | 18 ] |
| 19 } | 19 } |
| 20 ] | 20 ] |
| 21 } | 21 } |
| OLD | NEW |