Sha256: 54df2d2a096235ed9e4180f0386d6be1e59b1fce17cd078657e3ed89e4b034c8

Contents?: true

Size: 432 Bytes

Versions: 16

Compression:

Stored size: 432 Bytes

Contents

When /^I get the text from the list item$/ do
  @text = @page.li_id
end

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

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

When /^I search for the list item while the script is executing$/ do
  @text = @page.list_item_element(:id => 'li_id').text
end

Version data entries

16 entries across 16 versions & 1 rubygems

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