# File lib/capybara/node/matchers.rb, line 271 def has_button?(locator) has_selector?(:button, locator) end