Class: Symbiont::WebObjects::Button

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

Instance Attribute Summary

Attributes inherited from WebObject

#web_object

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from WebObject

#==, #attribute, #clear, #click, #disabled?, #double_click, #enabled?, #exists?, #fire_event, #flash, #focus, #hover, #html, #id, #inspect, #parent, provide_locator_for, #scroll_into_view, selector_mapping, #send_keys, #style, #tag_name, #text, #value, #visible?, #wait_until, #when_actionable, #when_not_actionable, #when_not_visible, #when_visible

Constructor Details

#initialize(web_object) ⇒ Button

Returns a new instance of Button.



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

def initialize(web_object)
  @web_object = web_object
end

Class Method Details

.usable_selectorsObject



10
11
12
# File 'lib/symbiont/web_objects/button.rb', line 10

def self.usable_selectors
  super + [:value, :text, :src, :alt]
end