JSON Grammar

The JSON grammar describes the elements that you can use in a JSON page object.

Here’s a sample outline of a page object.

1{
2  "elements": [],
3  "methods": [],
4  "shadow": {
5    "elements": []
6  },
7  "root": true,
8  "selector": {
9    "css": "one-record-home"
10  }
11}

For more details, start with Root Elements.