FunctionsgetTextgetText CallablegetText(element: string | HTMLElement): stringGet the textContent of an elementParameterselement: string | HTMLElementThe element to get the textContent ofReturns stringThe text content of the element
Get the
textContent
of an element