use node.getAttribute instead of node.href Co-authored-by: Gianluca Cappai <gcappai.dev@@gmail.com> Co-authored-by: Matt Bierner <matb@microsoft.com>