# File lib/capybara/session.rb, line 191
    def has_button?(locator)
      has_xpath?(XPath.button(locator))
    end