Class: SeleniumPlus::Section
- Inherits:
-
Object
- Object
- SeleniumPlus::Section
- Extended by:
- Container
- Includes:
- Finders
- Defined in:
- lib/selenium_plus/page_obj/section.rb
Instance Attribute Summary collapse
-
#root_element ⇒ Object
readonly
Returns the value of attribute root_element.
Instance Method Summary collapse
-
#initialize(root_element) ⇒ Section
constructor
A new instance of Section.
Methods included from Container
element, elements, iframe, section
Methods included from Finders
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_element ⇒ Object (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 |