Page Queries
attributes
Retrieves all attributes of the element as a JSON object.
Each key in the object is an attribute name, and its value is the attribute’s string value.
Example: { "id": "myElement", "class": "active important", "data-value": "123" }
Definition
Returns
The JSONObject
scalar type represents JSON objects as specified by ECMA-404.
Usage
This field is available on the Page object. Use it to query page information and content.