features/support/page.rb in page-object-0.9.4 vs features/support/page.rb in page-object-0.9.5
- old
+ new
@@ -98,10 +98,12 @@
radio_button(:milk_name_index, :name => "milk_name", :index => 0)
radio_button(:milk_label, :label => "Radio")
radio_button(:butter_id, :id => 'butter_id')
+ radio_button_group(:favorite_cheese, name: 'fav_cheese')
+
div(:div_id, :id => 'div_id')
div(:div_name, :name => 'div_name')
div(:div_class, :class => 'div_class')
div(:div_css, :css => '.div_class')
div(:div_text, :text => 'page-object rocks!')
@@ -307,11 +309,11 @@
label(:label_id, :id => 'label_id')
label(:label_name, :name => 'label_name')
label(:label_class, :class => 'label_class')
label(:label_css, :css => '.label_class')
label(:label_text, :text => 'page-object is the best!')
- label(:label_index, :index => 5)
- label(:label_xpath, :xpath => '//label[6]')
+ label(:label_index, :index => 6)
+ label(:label_xpath, :xpath => '//label[7]')
label(:label_class_index, :class => "label_class", :index => 0)
label(:label_name_index, :name => "label_name", :index => 0)
link(:open_window, :text => 'New Window')
link(:open_another_window, :text => 'Another New Window')