Class: TerminusSpec::WebObjects::Button

Inherits:
WebObject
  • Object
show all
Defined in:
lib/terminus_spec/web_objects/button.rb

Instance Method Summary collapse

Methods inherited from WebObject

have_selenium_find_object_with, have_watir_find_object_with, #method_missing

Constructor Details

#initialize(web_object, platform) ⇒ Button

Returns a new instance of Button.



6
7
8
9
# File 'lib/terminus_spec/web_objects/button.rb', line 6

def initialize(web_object, platform)
  @web_object = web_object
  mixin_web_objects_for platform
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class TerminusSpec::WebObjects::WebObject