class Capybara::Queries::SelectorQuery
Private Instance Methods
Source
# File lib/appium_capybara/ext/selector_query_ext.rb, line 5 def find_nodes_by_selector_format(node, exact) hints = {} hints[:uses_visibility] = true unless visible == :all hints[:texts] = text_fragments unless selector_format == :xpath hints[:styles] = options[:style] if use_default_style_filter? hints[:position] = true if use_spatial_filter? case selector_format when :css if node.method(:find_css).arity != 1 node.find_css(css, **hints) else node.find_css(css) end when :xpath if node.method(:find_xpath).arity != 1 node.find_xpath(xpath(exact), **hints) else node.find_xpath(xpath(exact)) end else node.find_custom(selector_format, @expression) end end