# File lib/capybara/node/matchers.rb, line 233 def has_button?(locator) has_xpath?(XPath::HTML.button(locator)) end