Sha256: 18d22f9c4c3748cd19d24e1bc23f5a56d6ab8c8ed392015eb70648b479091333

Contents?: true

Size: 489 Bytes

Versions: 16

Compression:

Stored size: 489 Bytes

Contents

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

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

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

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

Version data entries

16 entries across 16 versions & 1 rubygems

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