Retrieves the value of a specified attribute for the element. Returns null if the attribute does not exist. Example:Documentation Index
Fetch the complete documentation index at: https://docs.extractbase.com/llms.txt
Use this file to discover all available pages before exploring further.
attribute(name: "href") on an <a> tag, or attribute(name: "data-custom") on any element.
Definition
Arguments
name
String!
The name of the attribute to retrieve. Example: "class", "id", "value", "src".
Returns
String TheString 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.