module Capybara::Node::Matchers

def has_xpath?(path, **options, &optional_filter_block)

Returns:
  • (Boolean) - If the expression exists

Options Hash: (**options)
  • :count (Integer) -- Number of times the expression should occur

Parameters:
  • options () --
  • path (String) -- An XPath expression
def has_xpath?(path, **options, &optional_filter_block)
  has_selector?(:xpath, path, options, &optional_filter_block)
end