2 "description": "Chrome Endure control test for the browser.",
3 "user_agent_type": "desktop",
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.",
10 { "action": "navigate" },
11 { "action": "wait", "condition": "element", "xpath": "id(\"attach\")" }
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 }