Index: htmlelements.rb =================================================================== --- htmlelements.rb (revision 73) +++ htmlelements.rb (working copy) @@ -1011,6 +1011,10 @@ # class Button < InputElement INPUT_TYPES = ["button", "submit", "image", "reset"] + def locate + super + @o = @element.locate_tagged_element("button", @how, @what, self.class::INPUT_TYPES) unless @o + end end #