I have some html code with href links. Some of them are as follows:
<a href="#">
while others are like
<a href = "http://.....'>.
In other words for an xpath I can't use //a[contains(@href,'#')] nor //a[contains(@href,'http')] because they are mutually exclusive and each would work only for certain different href values. There is not a universal string I can search for.
Now, theoretically, href should not be blank so if I could use something like //a[href not blank] that would be good. Or even //a[has href attribute].
Anyway to do that?