Class: Watir::Locators::Row::SelectorBuilder

Inherits:
Element::SelectorBuilder show all
Defined in:
lib/watir/locators/row/selector_builder.rb,
lib/watir/locators/row/selector_builder/xpath.rb

Defined Under Namespace

Classes: XPath

Constant Summary

Constants inherited from Element::SelectorBuilder

Element::SelectorBuilder::INTEGER_CLASS, Element::SelectorBuilder::VALID_WHATS, Element::SelectorBuilder::WILDCARD_ATTRIBUTE

Instance Attribute Summary

Attributes inherited from Element::SelectorBuilder

#built, #custom_attributes

Instance Method Summary collapse

Methods inherited from Element::SelectorBuilder

#build, #initialize, #wd_locators

Constructor Details

This class inherits a constructor from Watir::Locators::Element::SelectorBuilder

Instance Method Details

#build_wd_selector(selector) ⇒ Object


5
6
7
8
# File 'lib/watir/locators/row/selector_builder.rb', line 5

def build_wd_selector(selector)
  scope_tag_name = @query_scope.selector[:tag_name] || @query_scope.tag_name
  implementation_class.new.build(selector, scope_tag_name)
end

#merge_scope?Boolean

Returns:

  • (Boolean)

10
11
12
# File 'lib/watir/locators/row/selector_builder.rb', line 10

def merge_scope?
  false
end