Class: PageObject::Elements::TextArea

Inherits:
Element
  • Object
show all
Defined in:
lib/page-object/elements/text_area.rb

Instance Attribute Summary

Attributes inherited from Element

#element

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Element

#class_name, #click, #disabled?, #enabled?, #inspect, #method_missing, plural_form, selenium_identifier_for, #style, watir_identifier_for

Methods included from NestedElements

included

Constructor Details

#initialize(element, platform) ⇒ TextArea

Returns a new instance of TextArea.



6
7
8
9
# File 'lib/page-object/elements/text_area.rb', line 6

def initialize(element, platform)
  @element = element
  include_platform_for platform
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PageObject::Elements::Element

Class Method Details

.selenium_findersObject



15
16
17
# File 'lib/page-object/elements/text_area.rb', line 15

def self.selenium_finders
  super + [:label]
end

.watir_findersObject



11
12
13
# File 'lib/page-object/elements/text_area.rb', line 11

def self.watir_finders
  super + [:label]
end