Class: UiInteractors::Interactors::ListInteractor

Inherits:
BaseInteractor show all
Defined in:
lib/ui_interactors/interactors/list_interactor.rb

Instance Method Summary collapse

Methods inherited from BaseInteractor

#is_not_visible!, #is_visible!

Constructor Details

#initialize(driver, name, xpath_root = '//*') ⇒ ListInteractor

Returns a new instance of ListInteractor.



3
4
5
# File 'lib/ui_interactors/interactors/list_interactor.rb', line 3

def initialize(driver, name, xpath_root='//*')
  super
end

Instance Method Details

#row(selector_options) ⇒ Object



7
8
9
# File 'lib/ui_interactors/interactors/list_interactor.rb', line 7

def row(selector_options)
  RowInteractor.new(@driver, selector_options, current_xpath)
end