module Capybara::Node::Matchers
def has_no_button?(locator = nil, **options, &optional_filter_block)
-
(Boolean)- Whether it doesn't exist
Parameters:
-
locator(String) -- The text, value or id of a button to check for
def has_no_button?(locator = nil, **options, &optional_filter_block) has_no_selector?(:button, locator, options, &optional_filter_block) end