Method: Capybara::Node::Matchers#has_no_table?

Defined in:
lib/capybara/node/matchers.rb

#has_no_table?(locator = nil, **options, &optional_filter_block) ⇒ Boolean

Checks if the page or current node has no table with the given id or caption. See #has_table?.

Parameters:

  • locator (String) (defaults to: nil)

    The id or caption of a table

  • options (Hash)

    a customizable set of options

Returns:

  • (Boolean)

    Whether it doesn't exist



566
567
568
# File 'lib/capybara/node/matchers.rb', line 566

def has_no_table?(locator = nil, **options, &optional_filter_block)
  has_no_selector?(:table, locator, **options, &optional_filter_block)
end