Class: Capybara::Queries::SelectorQuery
- Inherits:
-
BaseQuery
- Object
- BaseQuery
- Capybara::Queries::SelectorQuery
- Defined in:
- lib/appium_capybara/ext/selector_query_ext.rb
Instance Method Summary collapse
Instance Method Details
#resolve_for(node, exact = nil) ⇒ 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.
4 5 6 7 8 9 10 11 12 |
# File 'lib/appium_capybara/ext/selector_query_ext.rb', line 4 def resolve_for(node, exact = nil) applied_filters.clear @resolved_node = node @resolved_count += 1 node.synchronize do children = find_nodes_by_selector_format(node, exact).map(&method(:to_element)) ::Result.new(children, self) end end |