def get_fill(card):
    """Returns the card's fill

    Args:
        card (webelement): a visible card

    Returns:
        str: card's fill
    """
    fill = card.find_element_by_xpath(".//div/*[name()='svg']/*[name()='use'][1]").get_attribute("fill")

    if (fill == "transparent"):
        fill = "clear"
    else:
        mask = card.find_element_by_xpath(".//div/*[name()='svg']/*[name()='use'][1]").get_attribute("mask")

        if (mask == "url(#mask-stripe)"):
            fill = "half"
        else:
            fill = "solid"
    
    return fill