Class: SpecTest::WebObjects::Button
- Defined in:
- lib/spectest/web_objects/button.rb
Instance Method Summary collapse
-
#initialize(web_object, platform) ⇒ Button
constructor
A new instance of Button.
Methods inherited from WebObject
have_selenium_find_object_with, have_watir_find_object_with
Constructor Details
#initialize(web_object, platform) ⇒ Button
Returns a new instance of Button.
5 6 7 8 |
# File 'lib/spectest/web_objects/button.rb', line 5 def initialize(web_object, platform) @web_object = web_object mixin_web_objects_for platform end |