Method: Capybara::Node::Matchers#has_no_xpath?
- Defined in:
- lib/capybara/node/matchers.rb
#has_no_xpath?(path, **options, &optional_filter_block) ⇒ Boolean
Checks if a given XPath expression is not on the page or a descendant of the current node. Usage is identical to #has_xpath?.
282 283 284 |
# File 'lib/capybara/node/matchers.rb', line 282 def has_no_xpath?(path, **, &optional_filter_block) has_no_selector?(:xpath, path, **, &optional_filter_block) end |