docs: function getCssSelectorFromPath(path, selector){
    return parsePath(path).map(function(role){
      if (!role.role)
        return '';
  
      var start = escapeQuotes(role.role);
      var end = (role.subrole ? '/' + escapeQuotes(role.subrole) : '') + '"]';
  
      if (role.roleId)
      {
        if (selector && role.roleId == '*')
          start = '[role-marker^="' + start + '("][role-marker$=")';
        else
          start = '[role-marker="' + start + '(' + escapeQuotes(role.roleId) + ')';
      }
      else
      {
        start = '[role-marker="' + start;
      }
  
      return start + end;
    }).join(' ');
  }