Page Queries
textContent
Retrieves the text content of the element and all its descendants, including <script>
and <style>
tags.
Example: For <p>Hello <b>world</b></p>
, textContent would 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.