Sha256: bdd848859f01f5d65356e520889b679fd6450129b4ae33af61f81aa71c1be1f7

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

Stored size: 420 Bytes

Contents

module Watir
  module Locators
    class Row
      class SelectorBuilder < Element::SelectorBuilder
        def initialize(valid_attributes, scope_tag_name)
          @scope_tag_name = scope_tag_name
          super(valid_attributes)
        end

        def build_wd_selector(selector)
          Kernel.const_get("#{self.class.name}::XPath").new.build(selector, @scope_tag_name)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
watir-6.15.1 lib/watir/locators/row/selector_builder.rb
watir-6.15.0 lib/watir/locators/row/selector_builder.rb