Trimmed outer HTML of the matched element, up to 1000 characters.
Both text and htmlSnippet apply .trim() before slicing, so
leading/trailing whitespace is absent in both fields.
Readonlytext: string
Trimmed inner text of the matched element, up to 1000 characters.
Trimmed outer HTML of the matched element, up to 1000 characters. Both
textandhtmlSnippetapply.trim()before slicing, so leading/trailing whitespace is absent in both fields.