Implement GetElementTextHandler.