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