getElementByHREF function
Selects an Element in DOM with tag
and href
.
Implementation
Element? getElementByHREF(String tag, String href) {
if (href.isEmpty) return null;
var resolvedURL = resolveUri(href).toString();
return getElementByValues(tag, getElementHREF, [href, resolvedURL]);
}