browser.attr(key) returns the HTML attribute value.