def aggregate_str_content(array_of_elements):
    """
    Takes an array of DOM elements with text and merges their text content
    """

    u = ""
    for h in array_of_elements:
        u+=h.text
    return u