Class: SeleniumPlus::Section

Inherits:
Object
  • Object
show all
Extended by:
Container
Includes:
Finders
Defined in:
lib/selenium_plus/page_obj/section.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Container

element, elements, iframe, section

Methods included from Finders

#find, #find_all

Constructor Details

#initialize(root_element) ⇒ Section

Returns a new instance of Section.



8
9
10
# File 'lib/selenium_plus/page_obj/section.rb', line 8

def initialize(root_element)
  @root_element = root_element
end

Instance Attribute Details

#root_elementObject (readonly)

Returns the value of attribute root_element.



6
7
8
# File 'lib/selenium_plus/page_obj/section.rb', line 6

def root_element
  @root_element
end