# File lib/capybara/session.rb, line 195 def has_no_button?(locator) has_no_xpath?(XPath.button(locator)) end