Sha256: dce8f1bea9d98d10ff95606c2ef2ed44a926c5706b9b68f07116dd61bd20d7d4

Contents?: true

Size: 409 Bytes

Versions: 2

Compression:

Stored size: 409 Bytes

Contents

module Watir
  module Locators
    class Row
      class SelectorBuilder < Element::SelectorBuilder
        def build_wd_selector(selector)
          scope_tag_name = @query_scope.selector[:tag_name] || @query_scope.tag_name
          Kernel.const_get("#{self.class.name}::XPath").new.build(selector, scope_tag_name)
        end

        def use_scope?
          false
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
watir-6.16.1 lib/watir/locators/row/selector_builder.rb
watir-6.16.0 lib/watir/locators/row/selector_builder.rb