Apart from checking for buttons with an href attribute (which made no sense at all and should never return any element) this was identical to webelem.Group.links.