===
open tree page
%require
===
plwr -S plwr-test open "http://localhost:8599/tree.html"
---

===
tree of specific element
===
plwr -S plwr-test tree '#main'
---
{
  "children": [
    {
      "tag": "h1",
      "text": "Hello"
    },
    {
      "attrs": {
        "data-x": "42"
      },
      "tag": "p",
      "text": "World"
    }
  ],
  "class": [
    "container",
    "active"
  ],
  "id": "main",
  "tag": "div"
}

===
full page tree contains html root
===
plwr -S plwr-test tree
---
{{ tree:json object }}
---
where
* tree contains "tag"
* tree.tag == "html"
* tree contains "children"
