public function getText()
{
$action = function ($element, $elementName, $elementDesc) {
$log = usingLog()->startAction("retrieve the text of the {$elementDesc} '{$elementName}'");
$log->endAction("text is: " . $element->text());
return $element->text();
};
return new SingleElementAction($action, "getText", $this->getTopElement());
}