'Returns the text of the first element matching the given selector, or
None if no such element exists'

def _get_element_text(self, selector):

    text_list = self._find_within(selector).text
    return (text_list[0] if text_list else None)
