Class: Vapir::Firefox::Button
- Inherits:
-
InputElement
- Object
- Element
- InputElement
- Vapir::Firefox::Button
- Includes:
- Button
- Defined in:
- lib/vapir-firefox/elements/button.rb
Overview
Description:
Class for Button element.
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
Methods inherited from Element
#click, #click_no_wait, #current_style_object, element_object_style, #fire_event, #initialize, #outer_html, #visible?, #wait
Methods included from Container
#element_by_xpath, #element_object_by_xpath, #element_objects_by_xpath, #elements_by_xpath, #extra_for_contained, #innermost_by_node, #innermost_matching_visible_text, #visible_text_nodes
Constructor Details
This class inherits a constructor from Vapir::Firefox::Element
Instance Method Details
#caption ⇒ Object
17 18 19 |
# File 'lib/vapir-firefox/elements/button.rb', line 17 def value.empty? ? text : value end |