def extract_attributes(browser):
    """
    Extract attribute tags of avatar image from web page

    :param browser: opened browser
    :type browser: webdriver.Chrome
    :return: attribute tags of avatar image
    :rtype: list
    """
    attr_tags = browser.find_elements_by_class_name('attr-tag')
    attr_results = []
    for attr_tag in attr_tags:
        if attr_tag.text != '+ Show sub-attributes':
            attr_results.append(attr_tag.text)
        else:
            attr_tag.click()

    return attr_results