/Engine/Source/Developer/AutomationDriver/Public/IDriverElement.h
the text displayed by the element; if the element does not display text itself, then if there is only a single descendant of the element that displays text, then that descendants text will be returned
[FText](API\Runtime\Core\Internationalization\FText) GetText() const