summaryrefslogtreecommitdiffstats
path: root/tools/perf/page_sets/browser_control_click.json
blob: 845ded65320128cb79b38301d000c0350c7f91de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  "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": "javascript_click", "xpath": "id(\"attach\")" },
        { "action": "wait", "seconds": 0.5 },
        { "action": "javascript_click", "xpath": "id(\"detach\")" },
        { "action": "wait", "seconds": 0.5 }
      ]
    }
  ]
}