module Capybara::Node::Finders
def ancestor(*args, **options, &optional_filter_block)
-
(Capybara::ElementNotFound)- If the element can't be found before time expires
Returns:
-
(Capybara::Node::Element)- The found element
Options Hash:
(**options)-
match(Boolean) -- The matching strategy to use.
Parameters:
-
() --
def ancestor(*args, **options, &optional_filter_block) options[:session_options] = session_options synced_resolve Capybara::Queries::AncestorQuery.new(*args, **options, &optional_filter_block) end