Method: Capybara::Node::Matchers#has_no_content?
- Defined in:
- lib/capybara/node/matchers.rb
#has_no_text?(type, text, **options) ⇒ Boolean #has_no_text?(text, **options) ⇒ Boolean
Checks if the page or current node does not have the given text content, ignoring any HTML tags and normalizing whitespace.
753 754 755 |
# File 'lib/capybara/node/matchers.rb', line 753 def has_no_text?(*args, **) make_predicate() { assert_no_text(*args, **) } end |