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

- old
+ new

@@ -186,9 +186,41 @@ 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) + h4(:h4_id, :id => 'h4_id') + h4(:h4_class, :class => 'h4_class') + h4(:h4_name, :name => 'h4_name') + h4(:h4_index, :index => 0) + h4(:h4_xpath, :xpath => '//h4') + h4(:h4_class_index, :class => 'h4_class', :index => 0) + h4(:h4_name_index, :name => 'h4_name', :index => 0) + + h5(:h5_id, :id => 'h5_id') + h5(:h5_class, :class => 'h5_class') + h5(:h5_name, :name => 'h5_name') + h5(:h5_index, :index => 0) + h5(:h5_xpath, :xpath => '//h5') + h5(:h5_class_index, :class => 'h5_class', :index => 0) + h5(:h5_name_index, :name => 'h5_name', :index => 0) + + h6(:h6_id, :id => 'h6_id') + h6(:h6_class, :class => 'h6_class') + h6(:h6_name, :name => 'h6_name') + h6(:h6_index, :index => 0) + h6(:h6_xpath, :xpath => '//h6') + h6(:h6_class_index, :class => 'h6_class', :index => 0) + h6(:h6_name_index, :name => 'h6_name', :index => 0) + + paragraph(:p_id, :id => 'p_id') + paragraph(:p_class, :class => 'p_class') + paragraph(:p_name, :name => 'p_name') + paragraph(:p_index, :index => 0) + paragraph(:p_xpath, :xpath => '//p') + paragraph(:p_class_index, :class => 'p_class', :index => 0) + paragraph(:p_name_index, :name => 'p_name', :index => 0) + button(:alert_button, :id => 'alert_button') button(:confirm_button, :id => 'confirm_button') button(:prompt_button, :id => 'prompt_button') link(:open_window, :text => 'New Window')