Page Queries
innerText
Retrieves the visible text content of the element, excluding hidden text but including text from the shadow DOM.
This is similar to what a user would see on the page.
Example: For <p>Hello <b>world</b></p>
, innerText might be "Hello world"
.
Definition
Returns
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Usage
This field is available on the Page object. Use it to query page information and content.