# File lib/capybara/node/matchers.rb, line 245
      def has_no_button?(locator)
        has_no_xpath?(XPath::HTML.button(locator))
      end