using xmlusing afButter** (HTML Element) Represents a anchor element '<a>'.constclass Link : Element { @NoDocnew makeFromFinder (ElemFinder elemFinder) : super(elemFinder){}new makeFromCss (Str cssSelector) : super(cssSelector){}** Returns the 'href' attribute. Str href(){ getAttr("href")}** Sends a GET request to the Bed App with the uri from the 'href' attribute. ButterResponse click(){ bedClient.get(href.toUri)}** Submits an enclosing form to Bed App. ButterResponse submitForm(){super.submitEnclosingForm} @NoDocoverrideprotected XElem findElem(){ elem := super.findElemif(!elem.name.equalsIgnoreCase("a")) fail("Element is NOT a link: ", false)return elem}}