features/support/page.rb in page-object-0.4.1 vs features/support/page.rb in page-object-0.4.2
- old
+ new
@@ -122,9 +122,18 @@
button(:button_text, :text => 'Click Me')
button(:button_value, :value => 'Click Me')
button(:button_class_index, :class => "button_class", :index => 0)
button(:button_name_index, :name => "button_name", :index => 0)
+ button(:btn_id, :id => 'btn_id')
+ button(:btn_name, :name => 'btn_name')
+ button(:btn_class, :class => 'btn_class')
+ button(:btn_index, :index => 0)
+ button(:btn_text, :text => 'Click Me Too')
+ button(:btn_value, :value => 'Click Me Too')
+ button(:btn_class_index, :class => "btn_class", :index => 0)
+ button(:btn_name_index, :name => "btn_name", :index => 0)
+
image(:image_id, :id => 'image_id')
image(:image_name, :name => 'image_name')
image(:image_class, :class => 'image_class')
image(:image_index, :index => 0)
image(:image_xpath, :xpath => '//img')