features/support/page.rb in page-object-0.3.1 vs features/support/page.rb in page-object-0.3.2

- old
+ new

@@ -161,9 +161,33 @@ ordered_list(:ol_class, :class => 'ol_class') ordered_list(:ol_index, :index => 0) ordered_list(:ol_xpath, :xpath => '//ol') ordered_list(:ol_class_index, :class => "ol_class", :index => 0) ordered_list(:ol_name_index, :name => "ol_name", :index => 0) + + h1(:h1_id, :id => 'h1_id') + h1(:h1_class, :class => 'h1_class') + h1(:h1_name, :name => 'h1_name') + h1(:h1_index, :index => 0) + h1(:h1_xpath, :xpath => '//h1') + h1(:h1_class_index, :class => 'h1_class', :index => 0) + h1(:h1_name_index, :name => 'h1_name', :index => 0) + + h2(:h2_id, :id => 'h2_id') + h2(:h2_class, :class => 'h2_class') + h2(:h2_name, :name => 'h2_name') + h2(:h2_index, :index => 0) + h2(:h2_xpath, :xpath => '//h2') + h2(:h2_class_index, :class => 'h2_class', :index => 0) + h2(:h2_name_index, :name => 'h2_name', :index => 0) + + h3(:h3_id, :id => 'h3_id') + h3(:h3_class, :class => 'h3_class') + h3(:h3_name, :name => 'h3_name') + h3(:h3_index, :index => 0) + h3(:h3_xpath, :xpath => '//h3') + h3(:h3_class_index, :class => 'h3_class', :index => 0) + h3(:h3_name_index, :name => 'h3_name', :index => 0) button(:alert_button, :id => 'alert_button') button(:confirm_button, :id => 'confirm_button') button(:prompt_button, :id => 'prompt_button')