lib/watir/locators/element/selector_builder.rb in watir-6.17.0 vs lib/watir/locators/element/selector_builder.rb in watir-6.18.0
- old
+ new
@@ -140,10 +140,10 @@
@custom_attributes << attribute.to_s
end
# Extensions implement this method when creating a different selector builder
def implementation_class
- Kernel.const_get("#{self.class.name}::XPath")
+ Watir.const_get("#{self.class.name}::XPath")
end
def build_wd_selector(selector)
implementation_class.new.build(selector)
end