Method: Capybara::Node::Base#find_xpath
- Defined in:
- lib/capybara/node/base.rb
#find_xpath(xpath, **options) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
115 116 117 118 119 120 121 |
# File 'lib/capybara/node/base.rb', line 115 def find_xpath(xpath, **) if base.method(:find_xpath).arity == 1 base.find_xpath(xpath) else base.find_xpath(xpath, **) end end |