class InteractorUIAutomation::Interactor::ListInteractor

Public Class Methods

new(driver, name, xpath_root='//*') click to toggle source
# File lib/interactor_ui_automation/interactor/list_interactor.rb, line 3
def initialize(driver, name, xpath_root='//*')
  super
end

Public Instance Methods

row(selector_options) click to toggle source
# File lib/interactor_ui_automation/interactor/list_interactor.rb, line 7
def row(selector_options)
  RowInteractor.new(@driver, selector_options, current_xpath)
end

Private Instance Methods

current_xpath() click to toggle source
# File lib/interactor_ui_automation/interactor/list_interactor.rb, line 13
def current_xpath
  "#{@xpath_root}//*[@data-view='#{@name}']"
end