qualifiedUrl(rawUrl) {
    var anchor = document.createElement('a');
    anchor.href = rawUrl;
    // Retrieve fully qualified URL string from the anchor.
    var anchorUrl = anchor.href;
    return new URL(anchorUrl);
  }
/**
   * Get a URL object with a fully qualified url for the given raw url
   * string.
   *
   * @param {Element} element The element for which to retrieve the URL.
   * @return {URL} The URL object.
   */
Get a URL object with a fully qualified url for the given raw url
string.

@param {Element} element The element for which to retrieve the URL.
@return {URL} The URL object.
Get a URL object with a fully qualified url for the given raw url string . @param { Element } element The element for which to retrieve the URL . @return { URL } The URL object .
qualifiedUrl(rawUrl) {
    var anchor = document.createElement('a');
    anchor.href = rawUrl;
    var anchorUrl = anchor.href;
    return new URL(anchorUrl);
  }
qualifiedUrl ( rawUrl ) { var anchor = document . createElement ( 'a' ) ; anchor . href = rawUrl ; var anchorUrl = anchor . href ; return new URL ( anchorUrl ) ; }
Get a URL object with a fully qualified url for the given raw url
 string.
Get a URL object with a fully qualified url for the given raw url string .
// Retrieve fully qualified URL string from the anchor.