module Capybara::Node::DocumentMatchers

def has_title?(title, **options)

Returns:
  • (Boolean) -
def has_title?(title, **options)
  assert_title(title, options)
rescue Capybara::ExpectationNotMet
  return false
end