refactor: use textContent
instead of getText
#272
Merged
textContent
instead of getText
#272