def url_of_link(link):
    """ 
    Extract the url of the link
    
    Parameters
    ----------
    link : WebElement
        The link to inspect
       
    Returns
    ----------
    url: str
        The url of the given link
    
    """
    return link.get_attribute("href")