features/support/page.rb in page-object-0.7.2 vs features/support/page.rb in page-object-0.7.3

- old
+ new

@@ -253,11 +253,13 @@ 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(:alert_button_that_reloads, :id => 'alert_button_that_reloads') button(:confirm_button, :id => 'confirm_button') + button(:confirm_button_that_reloads, :id => 'confirm_button_that_reloads') button(:prompt_button, :id => 'prompt_button') file_field(:file_field_id, :id => 'file_field_id') file_field(:file_field_name, :name => 'file_field_name') file_field(:file_field_class, :class => 'file_field_class') @@ -300,9 +302,17 @@ audio(:audio_class, :class => 'audio') audio(:audio_index, :index => 0) audio(:audio_xpath, :xpath => '//audio') audio(:audio_class_index, :class => 'audio', :index => 0) audio(:audio_name_index, :name => 'audio', :index => 0) + + video(:video_id, :id => 'video') + video(:video_name, :name => 'video') + video(:video_class, :class => 'video') + video(:video_index, :index => 0) + video(:video_xpath, :xpath => '//video') + video(:video_class_index, :class => 'video', :index => 0) + video(:video_name_index, :name => 'video', :index => 0) element(:article_id, :article, :id => 'article_id') element(:header_id, :header, :id => 'header_id') element(:footer_id, :footer, :id => 'footer_id') element(:summary_id, :summary, :id => 'summary_id')