class Watir::Locators::Cell::SelectorBuilder::XPath

Private Instance Methods

start_string() click to toggle source
# File lib/watir/locators/cell/selector_builder/xpath.rb, line 8
def start_string
  @adjacent ? './' : './*'
end
tag_string() click to toggle source
Calls superclass method
# File lib/watir/locators/cell/selector_builder/xpath.rb, line 12
def tag_string
  return super if @adjacent

  "[#{process_attribute(:tag_name, 'th')} or #{process_attribute(:tag_name, 'td')}]"
end