features/support/page.rb in page-object-0.0.2 vs features/support/page.rb in page-object-0.0.3

- old
+ new

@@ -47,10 +47,16 @@ div(:div_name, :name => 'div_name') div(:div_class, :class => 'div_class') div(:div_index, :index => 0) div(:div_xpath, :xpath => '//div') + span(:span_id, :id => 'span_id') + span(:span_name, :name => 'span_name') + span(:span_class, :class => 'span_class') + span(:span_index, :index => 0) + span(:span_xpath, :xpath => '//span') + table(:table_id, :id => 'table_id') table(:table_name, :name => 'table_name') table(:table_class, :class => 'table_class') table(:table_index, :index => 0) table(:table_xpath, :xpath => '//table') @@ -65,6 +71,13 @@ button(:button_name, :name => 'button_name') button(:button_class, :class => 'button_class') button(:button_index, :index => 0) button(:button_xpath, :xpath=> "//input[@type='submit']") button(:button_text, :text => 'Click Me') + + 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') + end