Sha256: acfc4ba269b925f4517fcb82dd7da65b20e1c1c9b3ecc046c2c93d339925afc9
Contents?: true
Size: 571 Bytes
Versions: 39
Compression:
Stored size: 571 Bytes
Contents
module Watir class ChildCellLocator < ElementLocator def locate_all find_all_by_multiple end private def by_id nil end def build_xpath(selectors) return if selectors.values.any? { |e| e.kind_of? Regexp } expressions = %w[./th ./td] attr_expr = attribute_expression(selectors) unless attr_expr.empty? expressions.map! { |e| "#{e}[#{attr_expr}]" } end xpath = expressions.join(" | ") p :build_xpath => xpath if $DEBUG xpath end end # ChildCellLocator end # Watir
Version data entries
39 entries across 39 versions & 2 rubygems