Class: FireWatir::Label
- Inherits:
-
NonControlElement
- Object
- Element
- NonControlElement
- FireWatir::Label
- Defined in:
- lib/firewatir/elements/non_control_elements.rb
Constant Summary collapse
- TAG =
'LABEL'
Constants inherited from Element
Element::FIRST_ORDERED_NODE_TYPE, Element::NUMBER_TYPE, Element::ORDERED_NODE_ITERATOR_TYPE, Element::TO_S_SIZE
Constants included from Container
Container::DEFAULT_HIGHLIGHT_COLOR, Container::MACHINE_IP
Instance Attribute Summary
Attributes inherited from NonControlElement
Attributes inherited from Element
Instance Method Summary collapse
-
#to_s ⇒ Object
Description: Creates string of properties of the object.
Methods inherited from NonControlElement
inherited, #initialize, #locate
Methods inherited from Element
#assert_enabled, #assert_exists, #attribute_value, #click, #contains_text, #disabled, #document_var, #element_by_xpath, #element_type, #elements_by_xpath, #enabled?, #exists?, #fire_event, #initialize, #inspect, #method_missing, #text, #visible?, #wait
Methods included from Container
#button, #cell, #checkbox, #dd, #dl, #dt, #file_field, #form, #frame, #hidden, #image, #link, #radio, #row, #select_list, #show_all_objects, #table, #text_field
Methods included from JsshSocket
#js_eval, #js_eval_method, #jssh_socket, #read_socket
Constructor Details
This class inherits a constructor from FireWatir::NonControlElement
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FireWatir::Element
Instance Method Details
#to_s ⇒ Object
Description:
Creates string of properties of the object.
41 42 43 44 45 |
# File 'lib/firewatir/elements/non_control_elements.rb', line 41 def to_s assert_exists super({"for" => "htmlFor","text" => "innerHTML"}) # r=r + label_string_creator end |