Sha256: fc771adc99d8f3d5f7f8976d823e7de009186950071408a72732d71b4a7c4a8f

Contents?: true

Size: 478 Bytes

Versions: 16

Compression:

Stored size: 478 Bytes

Contents

When /^I get the first item from the ordered list$/ do
  @element = @page.ol_id_element[0]
end

When /^I search for the ordered list by "([^\"]*)"$/ do |how|
  @list = @page.send "ol_#{how}_element"
end

When /^I search for the ordered list by "([^"]*)" and "([^"]*)"$/ do |param1, param2|
  @list = @page.send "ol_#{param1}_#{param2}_element"
end

When /^I search for the ordered list while the script is executing$/ do
  @list = @page.ordered_list_element(:id => 'ol_id')
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
page-object-0.6 features/step_definitions/ordered_list_steps.rb
page-object-0.5.5 features/step_definitions/ordered_list_steps.rb
page-object-0.5.4 features/step_definitions/ordered_list_steps.rb
page-object-0.5.3 features/step_definitions/ordered_list_steps.rb
page-object-0.5.2 features/step_definitions/ordered_list_steps.rb
page-object-0.5.1 features/step_definitions/ordered_list_steps.rb
page-object-0.5.0 features/step_definitions/ordered_list_steps.rb
page-object-0.4.4 features/step_definitions/ordered_list_steps.rb
page-object-0.4.3 features/step_definitions/ordered_list_steps.rb
page-object-0.4.2 features/step_definitions/ordered_list_steps.rb
page-object-0.4.1 features/step_definitions/ordered_list_steps.rb
page-object-0.4.0 features/step_definitions/ordered_list_steps.rb
page-object-0.3.2 features/step_definitions/ordered_list_steps.rb
page-object-0.3.1 features/step_definitions/ordered_list_steps.rb
page-object-0.3.0 features/step_definitions/ordered_list_steps.rb
page-object-0.2.5 features/step_definitions/ordered_list_steps.rb