Class: PageObject::Elements::RadioButton
- Defined in:
- lib/page-object/elements/radio_button.rb
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(element, platform) ⇒ RadioButton
constructor
A new instance of RadioButton.
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
Constructor Details
#initialize(element, platform) ⇒ RadioButton
Returns a new instance of RadioButton.
6 7 8 9 |
# File 'lib/page-object/elements/radio_button.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