'Returns text of all elements matching ``xpath`` as a list.
The elements whose text to return is specified using ``source`` and
``xpath``. They have exactly the same semantics as with `Get Elements`
keyword.
The text of the matched elements is returned using the same logic
as with `Get Element Text`. This includes optional whitespace
normalization using the ``normalize_whitespace`` option.
Examples using ``${XML}`` structure from `Example`:
| @{texts} =       | Get Elements Texts | ${XML}    | third/child |
| Length Should Be | ${texts}           | 2         |             |
| Should Be Equal  | @{texts}[0]        | more text |             |
| Should Be Equal  | @{texts}[1]        | ${EMPTY}  |             |'

def get_elements_texts(self, source, xpath, normalize_whitespace=False):

    return [self.get_element_text(elem, normalize_whitespace=normalize_whitespace) for elem in self.get_elements(source, xpath)]
