Text to search. Falsy values are treated as empty text.
Tag name, with or without angle brackets.
Optionaloptions: { fallback?: boolean; required?: boolean } = {}
Optionalfallback?: booleanReturned for a missing tag or unknown text. Defaults to false.
Optionalrequired?: booleanThrows when the tag is missing. Defaults to false.
Reads the first matching tag as true or false.